/*
Theme Name: TravelAi
Theme URI: https://www.travelai.com/resources
Author: W3 Engineers Ltd.
Author URI: https://w3engineers.com/
Description: TravelAi is a unique WordPress theme to create a powerful blog site.
Tags: blog, one-column, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: travelai
*/

.sticky {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.03);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.03);
    -ms-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.03);
    -o-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.03);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.03);
}

/* Media captions */
figcaption,
.wp-caption,
.wp-caption-text,
.wp-block-embed figcaption {
	color: currentColor;
	font-size: var(--global--font-size-xs);
	line-height: var(--global--line-height-body);
	margin-top: calc(0.5 * var(--global--spacing-unit, 20px));
	margin-bottom: var(--global--spacing-unit);
	text-align: center;
}

.alignleft figcaption,
.alignright figcaption,
.alignleft .wp-caption,
.alignright .wp-caption,
.alignleft .wp-caption-text,
.alignright .wp-caption-text,
.alignleft .wp-block-embed figcaption,
.alignright .wp-block-embed figcaption {
	margin-bottom: 0;
}

.gallery-caption {
	display: block;
}

.bypostauthor {
	display: block;
}

/**
 * .aligncenter
 */
 .aligncenter {
	clear: both;
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

.wp-lightbox-overlay .wp-block-image figcaption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
	background: linear-gradient( 0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100% );
    color: #fff;
	font-size: 1rem;
	padding: 5px 10px;
	margin: 0;
}

.lightbox-trigger{
	z-index: 5;
}

.location-info-mbl ul:last-child{
	display:none;
}

/* Loader Styles start here */
.loader-wrapper {
	--line-width: 5px;
	--curtain-color: #f2f6f6;
	--outer-line-color: #aa3f31;
	--middle-line-color: #FFC700;
	--inner-line-color: #f48955;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1000;
}
  
.loader {
	display:block;
	position: relative;
	top:50%;
	left:50%;
	width:150px;
	height:150px;
	margin:-75px 0 0 -75px;
	border:var(--line-width) solid transparent;
	border-top-color: var(--outer-line-color);
	border-radius:100%;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
	z-index:1001;
}
  
.loader:before {
	content:"";
	position: absolute;
	top:4px;
	left:4px;
	right:4px;
	bottom:4px;
	border:var(--line-width) solid transparent;
	border-top-color: var(--inner-line-color);
	border-radius:100%;
	-webkit-animation: spin 3s linear infinite;
	animation: spin 3s linear infinite;
}
  
.loader:after {
	content:"";
	position: absolute;
	top:14px;
	left:14px;
	right:14px;
	bottom:14px;
	border:var(--line-width) solid transparent;
	border-top-color: var(--middle-line-color);
	border-radius:100%;
	-webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
  
@-webkit-keyframes spin {
	0%   { 
	  -webkit-transform: rotate(0deg); 
	  -ms-transform: rotate(0deg); 
	  transform: rotate(0deg);
	}
	100% { 
	  -webkit-transform: rotate(360deg); 
	  -ms-transform: rotate(360deg); 
	  transform: rotate(360deg);
	}
}
@keyframes spin {
	0%   { 
	  -webkit-transform: rotate(0deg); 
	  -ms-transform: rotate(0deg); 
	  transform: rotate(0deg);
	}
	100% { 
	  -webkit-transform: rotate(360deg); 
	  -ms-transform: rotate(360deg); 
	  transform: rotate(360deg);
	}
}
  
.loader-wrapper .loader-section {
	position:fixed;
	top:0;
	background:var(--curtain-color);
	width:100%;
	height:100%;
	z-index:1000;
}
  
/* Loaded Styles */ 
.loaded .loader {
	opacity: 0;
}
.loaded .loader-wrapper {
	visibility: hidden;
}

/*Accordion css*/
.faq-desktop-box{ 
	display:block;
}
.faq-mobile-box {
	display:none;
    border-bottom: 1px solid #dadada;
    padding-bottom: 30px;
}
.faq-mobile-box .faq-mb-qn{
	color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
	cursor: pointer;
}
.faq-mobile-box .faq-mb-ans {
	display: none;
    color: #8e8e8e;
    font-size: 14px;
    font-weight: 500;
    line-height: 26px;
	padding-top: 10px;
}

.faq-mobile-box:last-child{
	padding-bottom: unset;
	border-bottom: 0;
}

@media only screen and (max-width: 575px) {
	.faq-desktop-box{ 
		display:none;
	}
	.faq-mobile-box{ 
		display:block;
	}	
}

.the-post-content {
    margin: 16px auto;
	font-size: 1.25rem;
	line-height: 1.7;
}

.slider-section.post-img-slider ~ .the-post-content {
    padding-top: 0;
}

.the-post-content > *:not(.elementor):not(:last-child) {
    margin-bottom: 20px;
	max-width: 100%;
}

.the-post-content > .wp-block-image:not(:last-child) {
    margin-bottom: 40px !important;
}

.the-post-content .wp-block-image img {
    width: 100%;
	max-width: 100%;
}

/* Tabble */
.the-post-content table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    margin-top: 60px;
}

.the-post-content table tbody tr {
    height: 68px;
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 600;
}

.the-post-content table tbody tr:first-child {
    background-color: #2e2e2e;
    color: #fff;
}

.the-post-content table td, .the-post-content table th {
    padding: 0 40px;
}

.the-post-content table td, table th {
    text-align: left;
}

.the-post-content tr td {
    border: 1px solid #cfcfcf;
    vertical-align: top;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 50%;
}

/* Tabble End */

@media only screen and (max-width: 768px) {
	.wp-lightbox-overlay .wp-block-image figcaption {
		display: none;
	}

	.the-post-content table {
		overflow-x: auto;
		display: block;
	}
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: #46b450;
    color: #fff;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0 !important;
    padding: 1px !important;
}