@charset "UTF-8";

/*
Theme Name: newhorizon
Theme URI:
Author: Alphasoft Limited
Author URI: https://alphasoft.ltd/
Description: newhorizon Safaris Theme.
Text Domain: newhorizon
*/


body {
	margin: 0;
    overflow-x: hidden;
}
.wrap {
	max-width: 1350px;
    margin: auto;
    padding: 0 15px;
}
.elementskit-post-image-card{
	height:490px;
}
.elementskit-post-image-card img{
    height: 313px!important;
    object-fit: cover;
}
.profile-header > img{
	height:324px!important;
	object-fit: cover;
}
.sticky-header {
    transition: all 0.3s ease;
}

.sticky-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
}

.rwanda:not(.active-cnt),
.uganda:not(.active-cnt), 
.kenya:not(.active-cnt),
.tanzania:not(.active-cnt),
.burundi:not(.active-cnt),
.zanzibar:not(.active-cnt),
.gorillatrekking:not(.active-cnt),
.big5safaris:not(.active-cnt),
.honeymoon:not(.active-cnt),
.excursions:not(.active-cnt),
.wildebeestmigration:not(.active-cnt),
.eastafrica:not(.active-cnt),
.all:not(.active-cnt) {
	display: none;
}
.active-xtry {
	background:#F4EEE0;
    padding: 5px 10px 5px;
    border-radius: 5px;
}
.active-xtry h3 a {
	color: #124922;
}
.active-xtry .elementor-icon {
	fill: #124922;
    color: #124922;
    border-color: #124922;
}

/* Tours Archive */
#tours-archive .wrap {
    display: flow-root;
}

.filter-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0 15px;
    border-top: 1px solid #6f6f6f40;
}
.days-filter-item {
    border-top: 0;
    padding-top: 0;
}
.check-filter-item {
    flex-direction: row-reverse;
    justify-content: left;
    align-items: center;
    gap: 6px;
}
.check-filter-item label {
    width: auto !important;
    margin: 0 !important;
}
.check-filter-item input {
    margin: 0;
    height: 22px;
    width: 24px !important;
}
.filter-item label {
    width: 100%;
    margin-bottom: 5px;
}
.filter-item input, .filter-item select {
    padding: 5px 5px;
    border-radius: 5px;
    border: 1px solid #838383;
    color: #555555;
    font-family: outfit;
}
.filter-item input {
    width: 44%;
}
.filter-item select {
    width: 100%;
}

span.active-filter {
    background: #18882312;
    padding: 0 0 0 12px;
    margin: 0 5px 4px 0;
    font-size: 14px;
    border: 1px solid #188823;
    display: inline-block;
    border-radius: 30px;
    line-height: 0;
}
span.remove-filter {
    background: #188823;
    padding: 9px 8px 12px;
    border-radius: 24px;
    cursor: pointer;
    color: #fff;
    display: inline-flex;
}
#tour-search {
    padding: 15px 20px;
    width: 89%;
    border-radius: 53px;
    margin: 0 0 15px;
    background: #ededed;
    border: 2px solid #848484;
    font-size: 17px;
    transition: .2s ease;
}
.home-tour-search {
    width: 80%;
    margin: auto;
    max-width: 600px;
    position: relative;
}
#tour-search-input {
    width: 100%;
    margin: auto;
    padding: 12px 25px;
    border-radius: 30px;
    background: #ededed;
    border: 2px solid #848484;
    font-size: 17px;
    font-family: 'Outfit';
    transition: .2s ease;
}
#tour-search:focus,
#tour-search:hover,
#tour-search-input:focus,
#tour-search-input:hover {
    background: #1888230d;
    border: 2px solid #188823;
}
#tour-search-input:focus,
#tour-search-input:hover {
    background: #ffffffcc !important;
    backdrop-filter: invert(1);
}
#tour-search-results {
    background: #fff;
    position: absolute;
    z-index: 5;
    box-shadow: 0px 0px 25px 5px #04700f40;
    border-radius: 0 0 20px 20px;
    width: 95%;
    left: 0;
    right: 0;
    margin: auto;
    padding-top: 15px;
}
.tour-result {
    display: flex;
    padding: 0 15px 15px;
    gap: 15px;
    text-align: left;
}
.tour-result img {
    height: 120px;
    width: auto;
    object-fit: cover;
}
.tour-result h3 {
    margin: 0 0 10px;
    font-size: 17px;
}
.tour-result p {
    font-size: 14px;
    color: #555555;
    margin: 0;
    font-weight: 300;
}
body .tour-result a.view-more-btn {
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 300;
    margin-top: 10px;
}
body #tour-search-results a.view-more {
    background: #2E2E2E;
    box-shadow: 0 0 0 2px #2e2e2e !important;
    padding: 8px 19px;
    font-weight: 200;
    font-size: 15px;
    margin: 10px 0 20px;
}
body #tour-search-results a.view-more:hover {
    color: #fff !important;
    background: #3e4e2a !important;
}



/* POPUP */
.survey-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.survey-container {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 8px;
}

.survey-step {
    display: none;
}

#step-1 {
    display: block;
}

button.next-button, button.prev-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin: 10px 0;
}

button.prev-button {
    background-color: #f44336;
}

button.next-button:hover, button.prev-button:hover {
    opacity: 0.8;
}


/* Form Container */
.form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

/* Labels */
.wpcf7-form-control-wrap label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

/* Input Fields */
.wpcf7-form .wpcf7-form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Input Fields on Focus */
.wpcf7-form .wpcf7-form-control:focus {
    outline: none;
    border-color: #188823;
    box-shadow: 0 0 5px rgba(24, 136, 35, 0.5);
}

/* Submit Button */
.book.enquire-form .wpcf7-form-control.wpcf7-submit, .enquire-form .wpcf7-form-control.wpcf7-submit {
    width: 20%!important;
}
.book.enquire-form .wpcf7-form-control.wpcf7-select{
	width: 86%!important;
}
/* Submit Button Hover */
.book.enquire-form .wpcf7-form .wpcf7-submit:hover {
    background-color: #145d1b;
}

/* Error Messages */
.book.enquire-form .wpcf7-not-valid-tip {
    color: #d9534f;
    font-size: 14px;
    margin-top: -10px;
}

/* Title */
.book.enquire-form .popup-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.book-form-flex{display: flex;column-gap: 10px;}
.book.enquire-form .wpcf7-form-control.wpcf7-textarea {height: 150px; width: 86%!important;}

/* Mobile-Specific Styling */
@media (max-width: 600px) {
    .book-popup{width: 90%;margin: 0px 15px 0px 0px; top:55%;align-items: center;}
}
.tour_name,
.start_date {
    display: block;
    font-weight: bold;
    margin-top: 5px;
    color: #333;
}

.wpcf7 p {
    margin-bottom: 4px;
}
p.tours-info{
    margin-bottom: 4px;
}
.aboutElegnat .elementskit-infobox{
	backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.05);
}

/*Referral widget*/
.ag-referral-steps-wrapper {
	width: 100%;
	padding: 0;
}

.ag-referral-steps {
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 40px;
	align-items: start;
}

.ag-referral-step {
	position: relative;
	min-width: 0;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	z-index: 2;
}

/* Circle */

.ag-referral-step__circle {
	position: relative;
	z-index: 3;
	width: 30px;
	height: 30px;
	margin: 0 auto 17px;
	border: 3px solid #FFB236;
	border-radius: 50%;
	background: #fbfaf6;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.ag-referral-step__circle::after {
	content: '';
    position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #124922;

}

/* Connecting line */

.ag-referral-step__line {
	position: absolute;

	z-index: 1;

	top: 15px;

	left: calc(50% + 15px);
	width: calc(100% + 10px);

	border-top: 2px dashed #FFB236;

	height: 0;

	pointer-events: none;
}


.ag-referral-step:last-child .ag-referral-step__line {
	display: none;
}

/* Content */

.ag-referral-step__content {
	position: relative;
	z-index: 3;
}

.ag-referral-step__title {
	margin: 0 0 10px;
	color: #111111;
	font-size: 20px;
	font-weight: 700;

	line-height: 1.25;

	text-align: center;
}

.ag-referral-step__description {
	margin: 0 auto;

	max-width: 300px;

	color: #242424;

	font-size: 18px;
	font-weight: 400;

	line-height: 1.55;

	text-align: center;
}

.ag-referral-step__number {
	position: relative;
	z-index: 4;
	font-size: 10px;
	font-weight: 700;
	color: #FFB236;
}


@media (max-width: 767px) {

	.ag-referral-steps {
		grid-template-columns: 1fr;
		row-gap: 45px;
	}

	.ag-referral-step {
		padding-left: 20px;
		padding-right: 20px;
	}

	.ag-referral-step__line {
		display: none;
	}

	.ag-referral-step__circle {
		margin-bottom: 15px;
	}

	.ag-referral-step__title {
		font-size: 20px;
	}

	.ag-referral-step__description {
		max-width: 420px;
		font-size: 17px;
	}

}