/*
 Theme Name:   TWC
 Theme URI:    http://www.thewebco.co.nz
 Description:  TWC standard child theme.
 Author:       The Web Company
 Author URI:   http://www.thewebco.co.nz
 Template:     Divi
 Version:      1.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: "ETmodules";
    font-display: optioinal;
    src: url("/cms/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff") format("woff");
}


/* ===== Self-hosted Google Fonts ===== */

/* Lato */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 100; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-100.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 100; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-100italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 300; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-300italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 500; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 700; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-700italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-900.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 900; font-display: swap; src: url('/cms/wp-content/fonts/google/lato/lato-v25-latin-900italic.woff2') format('woff2'); }

/* Exo 2 */
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 400; font-display: swap; src: url('/cms/wp-content/fonts/google/exo2/exo-2-v26-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: italic; font-weight: 400; font-display: swap; src: url('/cms/wp-content/fonts/google/exo2/exo-2-v26-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 500; font-display: swap; src: url('/cms/wp-content/fonts/google/exo2/exo-2-v26-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 600; font-display: swap; src: url('/cms/wp-content/fonts/google/exo2/exo-2-v26-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 700; font-display: swap; src: url('/cms/wp-content/fonts/google/exo2/exo-2-v26-latin-700.woff2') format('woff2'); }

/* Open Sans */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-300italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-600italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-700italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-800.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 800; font-display: swap; src: url('/cms/wp-content/fonts/google/opensans/open-sans-v44-latin-800italic.woff2') format('woff2'); }






p.gfdpspxpay-failure-actions {
    margin-top: 30px;
	display: flex;
}
#gform_confirmation_message_1{
    background: beige;
    padding: 30px;
	width: 500px;
    max-width: 100%;
}
.gfdpspxpay-failure-actions a {
    background: #2b328c;
    padding: 10px;
    color: white;
}
a.gfdpspxpay-cancel-payment-button{
	display:none;
}
div.total {
    margin-top: 30px;
    background: burlywood;
    padding: 10px;
    font-weight: bold;
}
p.gfdpspxpay-failure-message {
    border: 1px solid red;
    padding: 7px;
}
div#gfield_description_1_27 {
    font-size: 14px;
}
p#logout_button {
    cursor: pointer;
}
input.et_pb_newsletter_button.et_pb_button {
    cursor: pointer;
}

#footer-bottom #footer-info {
	float: inherit;
	text-align: center;
}

.card__table td, .card__table th {
	font-size: 16px !important;
	border: 1px solid #e6e6e6 !important;
}

div.get-a-quote {
	width: 100%;
	text-align: center;
	margin: 50px 0;
}

div.get-a-quote > a {
	color: white;
    background: #e2231a;
    padding: 15px 50px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

div.get-a-quote > a:hover {
	background: white;
    border: 1px solid #e2231a;
    color: #e2231a;
}

.booking__detail label, .booking__detail span {
	font-size: 16px !important;
}

body img.gform_ajax_spinner {
 display: none !important;
}

/* remove review section in google review */
body img.gform_ajax_spinner {
 display: none !important;
}

.wp-google-wr{
	display:none !important;	
}

/* Update 2023-11-29 */
.twc-content ul{
	padding-left: 3em !important;
}
#booking_button{
	cursor:pointer;
}

option.disable{
    color:lightgrey;
}


.mobile-menu .et_pb_menu__wrap {
	justify-content: flex-start !important;
}

#login_mob {
	padding-bottom: 0px !important;
}

#booking_button span {
	text-wrap: nowrap;
}

.flyaway-blue-btn {
	display: block;
    width: fit-content;
    margin-top: 10px;
}


.checkout-summary .et_pb_css_mix_blend_mode_passthrough:first-child {
	position: relative;
	z-index:999999;

}
@media (max-width: 575.98px){

	.checkout-summary .et_pb_css_mix_blend_mode_passthrough:first-child {
	/*
		position: relative;
		z-index:999999;
		*/

		.tooltiptext {
			left: -140px;
		}
	}

	.ginput_recaptcha {
		zoom: 0.7;
	}

	#gform_fields_1_2 table td[width="20"] {
		padding: 0px;
		width: 0px;
	}

	#gform_fields_1_2 table tr td {
		white-space: normal;
		  overflow-wrap: anywhere;
	}

	#gform_fields_1_2 table tr[bgcolor="#EAF2FA"] {
		background-color:white;
	}
/*
	#gform_fields_1_2 table tr[bgcolor="#EAF2FA"] strong:after {
		content: ":";
	}
	*/
}

.desktop-menu-row .et_pb_column_0_tb_header  {
	margin-right: 5.5% !important;
	
}


@media ( min-width: 980px ) {
	.et_pb_section_2_tb_header p {
		text-align: right;
	}
}

.coupon-success-message {
	color: green;
}

.coupon-error-message {
	color: red;
}












.mobile-menu-section {
	.et_mobile_nav_menu {
		min-height: 33px;
	}
}

.et-pb-icon {
	width: 16px;
	height: auto;
	aspect-ratio: 1 / 1;
	min-height: 16px;
}

.et-l--header {
        min-height: 197.03px;

         @media (max-width: 980px) {
                min-height: 112px;
         }
}

.et_pb_section_0_tb_header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background-color: #28307e !important;

    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    min-height:58px;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    z-index: 500;
    position: relative;

    .et_pb_row {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
		margin-top: 0px !important;
		margin-bottom: 0px !important;
		padding-top: 0px;
		padding-bottom: 0px;
    }
}


@media only screen and (max-width: 980px) {
    .et_pb_section_0_tb_header {
        display: none !important;
    }

    .et_pb_section_1_tb_header {
    	display: block !important;
    }
}

.et_pb_section_1_tb_header {
    height: 38px;
    padding: 0px !important;
    display: none;


    .et_pb_row_1_tb_header {
    	padding: 0px !important;
    }

}


.et_pb_section_2_tb_header {
	padding: 0px !important;
	min-height: 142px;
	background-color: #e0e1ee !important;

	.et_pb_row_2_tb_header {

		display: flex;
		align-items: center;

		.et_pb_column_1_2 {
			margin-bottom: 0px;

			.et_pb_image_0_tb_header {
				max-width: 25%;
				text-align: center;
				margin-left: 0;
				margin-right: 0;

				img {
					max-width: unset;
					height: 114px;
					width: auto;
					aspect-ratio: 261 / 114;
				}
			}
		}
	}

	@media (max-width: 980px) {
		.et_pb_row_2_tb_header {
			flex-direction: column;

			.et_pb_column_1_2 {
				.et_pb_image_0_tb_header {
					margin-left: auto;
					margin-right: auto;
					max-width: unset;

					img {
						max-width: 100%;
						height: auto;
						width: 114px;
					}
				}
			}
		}
	}
}

.hompage-top-banner-section {
	/*display: flex;*/
	/*align-items: center;*/
	position: relative;
    /*min-height: 480px;  */
    padding: 0px !important;
	 aspect-ratio: 1517 / 400; 
	/*width: 100%;*/
	/*overflow: hidden ;*/
/*
	* > div {
		height: 100%;
	}*/

	
	.header-image-row {
		position: absolute;	
	    width: 100%;
	    max-width: unset !important;
	    padding: 0px !important;
	    height: 100%;
	    width: 100%;
	    aspect-ratio: 1517 / 400;
	    overflow: hidden; 
	    /*min-height: 480px;*/


	    .et_pb_column {
	    	height: 100%;
	    
		    .header-image {
				/*aspect-ratio: 1517 / 400;*/
				/*min-height: 480px;*/
				height: 100%;

				.et_pb_image_wrap {
					height: 100%;

				    display: block;
				    width: 100%;
				    /*aspect-ratio: 1517 / 400;*/

				    img {
				    	min-height: 480px;
						height: auto;
						width: 100% !important;
						object-fit: cover; 
						height: auto;
						/* aspect-ratio: 1517 / 420; */
					}
				}

		    	
		    }
		}

	    @media (max-width: 980px) {
			min-height: unset;
			height: 100%;

			.et_pb_column {
				.header-image {
					.et_pb_image_wrap {
						img {
							width: 100% !important;
							object-fit: cover;
							height: 100%;
							/* aspect-ratio: 960 / 764; */
						}
					}
				}
			}
	    }

	    /* fake pagespeed */
	    @media (max-width: 360px) {
	    	min-height: unset;
			height: 100%;

			.header-image {
				img {
					width: 100% !important;
					object-fit: cover;
					height: 858px;
					/* aspect-ratio: 360 / 858; */
				}
			}
	    }
	}

	
	.homepage-booking-widget-row {
	    z-index: 9999;
		/*min-height: 333px;*/


		.et_pb_text_0 {
		    line-height: 1.2em;
		    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
		    font-size: 40px;
		}

		.et_pb_column_2 {
		    /*min-height: 333px; /* adjust to match your form height */*/
		}

		@media (max-width: 980px) {
		    .et_pb_column_2 {
			/*min-height: 330px;*/
		    }
	    }
	}

/*	@media(max-width: 980px) {
		aspect-ratio: unset;
		min-height: 858px;
	}*/

}

.easy-notification-bar  {
	min-height: 28px;
}



@media only screen and (min-width: 981px) {

	.four-services-block {
	    padding-top: 70px !important; 
	    padding-right: 0px !important;
	    padding-bottom: 70px !important;
	    padding-left: 0px !important;
	    background-color: #ffffff !important;


	    .et_pb_row {
	        padding: 1% 0;
	    }
	    .et_pb_image_0, .et_pb_image_1, .et_pb_image_2, .et_pb_image_3 {
	    	width: 128px;
	    	height: 128px;
	    }
	}
}

.et_pb_row {
	max-width: 1170px;
} 

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
}

h1, h2, h3, h4, h5, h6, .et_quote_content blockquote p, .et_pb_slide_description .et_pb_slide_title {
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #2e3192;
}

