/*!
Theme Name: Hotel Gloriana & Spa
Theme URI: https://digitalguider.com/
Author: Digital Guider
Author URI: https://digitalguider.com/
Description: Description
Version: 1.0.0
Tested up to: 7.4
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hotel-gloriana-spa
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.

Hotel Gloriana & Spa is based on Underscores https://digitalguider.com/, (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.
 */

 @import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
/* h1{ padding: 0 0 30px; } */
.main-timeline{
    font-family: 'Titillium Web', sans-serif;
    padding: 50px 0 0;
    position: relative;
	height: 350px;
    overflow-y: scroll;
}
.main-timeline h1{
	font-size:38px;
}
.main-timeline .timeline{
    margin: -42px 0 0 0;
    position: relative;
    z-index: 1;
}
.main-timeline .timeline:before{
    content: '';
    border: 5px solid  var(--theme-color1);
    border-right: 5px solid transparent;
    height: calc(100% + 63px);
    width: 50%;
    border-radius: 100px 0 0 100px;
    position: absolute;
    left: 12%;
    top: 50%;
    z-index: -1;
}
.main-timeline .timeline-content{
    /* background-color: #ffa502; */
    text-align: center;
    width: 100%;
    border-radius: 30px 30px;
    padding: 20px 15px;
    position:relative;
    margin: 0 auto 100px;
    display: block;
    z-index: 1;
}
.main-timeline .timeline-content:hover{ text-decoration: none; }
.main-timeline .timeline-content:before{ 
    content: "";
    background: #fff;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 20px 20px;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
}
.main-timeline .timeline-icon,
.main-timeline .timeline-year{
    color:  var(--theme-color1);
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 10px;
}
.main-timeline .title{
    color: #333;
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}
.main-timeline .description{
    color: #333;
    font-size: 14px;
    letter-spacing: 1px;
}
.main-timeline .timeline:nth-child(even):before{
    left: auto;
    right: 12%;
    border-radius: 0 100px 100px 0;
}
/* .main-timeline .timeline:nth-child(4n+2) .timeline-content{ background: #ff4757; } */
.main-timeline .timeline:nth-child(4n+2):before{ 
    border-color:  var(--theme-color1); 
    border-left-color: transparent; 
}
.main-timeline .timeline:nth-child(4n+2) .timeline-icon,
.main-timeline .timeline:nth-child(4n+2) .timeline-year{ color: #ff4757; }
/* .main-timeline .timeline:nth-child(4n+3) .timeline-content{ background: #009CE6; } */
.main-timeline .timeline:nth-child(4n+3):before{ 
    border-color:  var(--theme-color1);
    border-right-color: transparent;
}
.main-timeline .timeline:nth-child(4n+3) .timeline-icon,
.main-timeline .timeline:nth-child(4n+3) .timeline-year{ color: #009CE6; }
 
/* .main-timeline .timeline:nth-child(4n+4) .timeline-content{ background: #3742fa; } */
.main-timeline .timeline:nth-child(4n+4):before{ border: none; }
.main-timeline .timeline:nth-child(4n+4) .timeline-icon,
.main-timeline .timeline:nth-child(4n+4) .timeline-year{ color: #3742fa; }
@media only screen and (max-width:990px){
    .main-timeline .timeline:before{
        left: 5%;
        border-radius: 120px;
    }
    .main-timeline .timeline:nth-child(even):before{ right: 5%; }
}
@media only screen and (max-width:576px){
    .main-timeline:before{ width: 85%; }
    .main-timeline .timeline{ margin: -38px 0 0 0; }
    .main-timeline .timeline:before{ left: 0; }
    .main-timeline .timeline:nth-child(even):before{ right: 0; }
    .main-timeline .timeline-content{ width: 85%; }
    .main-timeline .title{ font-size: 18px; }
}

.input-error {
  border: 2px solid red; /* Highlight input with red border */
}

.error-message {
  color: red; /* Display error message in red */
  font-size: 0.9em;
  margin-left: 5px; /* Add spacing from the input */
  display: block;
}

div.tnp-subscription, form.tnp-subscription, form.tnp-profile {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
}

.ui-datepicker {
  z-index: 9999 !important;
}
.ui-datepicker {
  /* width: 17em; */
  padding: .2em .2em 0;
  display: block;
}
.chk-field .error{
	display:block;
}

.newslatter p{
	text-align: center;
    background: #67e567;
    color: #fff;
    display: block;
    width: 50%;
    margin: 70px auto;
    padding: 5px;
    border-radius: 10px;
}