/*	Minor CSS hack to force the AAD search results page to be wider */

#aad-grid-detector-desktop {
	width: 0px;
	height: 0px;
	display: block;
}

#aad-grid-detector-tablet,
#aad-grid-detector-mobile {
	width: 0px;
	height: 0px;
	display: none;
}

.aad-grid-wrapper {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
}

.aad-grid-item-wrapper {
	overflow: hidden;
	position: relative;
}

.aad-grid-item-wrapper .aad-grid-background {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-position: center center;
	background-size: cover;
	transition: all 0.5s linear;
}

.aad-grid-item-wrapper:hover .aad-grid-background {
	transform: scale( 1.1 )	rotate( 2deg );
}

.aad-grid-item-wrapper .aad-grid-midground {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

.aad-grid-item-wrapper .aad-grid-title {
	position: absolute;
	width: 100%;
	height: auto;
	left: 0;
	top: 0;
	padding: 7px 10px;
	color: white;
	font-weight: 500;
	text-align: center;
	background-color: rgba( 12, 0, 82, 0.7 );
}

.aad-grid-item-wrapper .aad-grid-offer {
	position: absolute;
	width: auto;
	height: auto;
	right: 0;
	bottom: 0;
	padding: 15px 20px;
	color: #0C0052;
	font-weight: 500;
	text-align: center;
	background-color: rgba( 255, 255, 255, 0.9 );
}

.aad-grid-item-wrapper .aad-grid-foreground {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	transform: scale( 1.5 );
	opacity: 0;
	transition: all 0.5s linear;
}

.aad-grid-item-wrapper:hover .aad-grid-foreground {
	transform: scale( 1 );
	opacity: 1;
}

.aad-grid-button {
	background-color: rgb(252, 145, 73);
	padding: 12px 20px;
	color: white;
	display: inline-block;
	border-radius: 50px;
}

.aad-grid-button:hover {
	background-color: rgb(250, 125, 40);
}

.page-id-3335 #main {
	padding-left: 30px !important;
	padding-right: 30px !important;
}
.page-id-3335 #main .fusion-row {
	max-width: 100%;
}

.aad_result_container {
	width: 100%;
	border: 1px solid #999;
	border-top-right-radius: 40px;
	border-bottom-right-radius: 40px;
	display: flex;
	min-height: 70px;
	margin-bottom: 30px;
	align-items: stretch;
	-webkit-box-shadow: 0px 0px 12px 3px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 12px 3px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 12px 3px rgba(0,0,0,0.4);
}

.aad_result_container:hover {
	border: 1px solid #0C0052;
	-webkit-box-shadow: 0px 0px 6px 1px rgba(0,0,0,0);
	-moz-box-shadow: 0px 0px 6px 1px rgba(0,0,0,0);
	box-shadow: 0px 0px 6px 1px rgba(0,0,0,0);
}

.aad_result_image {
/*	min-height: 200px;*/
	flex-basis: 230px;
	min-width: 230px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center, center; 
}

.aad_result_description {
	padding: 12px 10px;
	flex-grow: 1;
}

.aad_result_description .listing_extra {
	font-size: 0.8em; 
	line-height: 1.2em;	
}

.aad_result_description .listing_extra p {
	margin: 5px 0px;
}

.aad_result_offer {
	background-color: #0C0052;
	flex-basis: 230px;
	border-top-right-radius: 40px;
	border-bottom-right-radius: 40px;
	min-width: 230px;
	color: white;
	padding: 16px 10px;
}

.aad-search-results-wrapper {
	width: 100%;
	display: flex;
	margin-top: 50px;
}

.aad-search-results-wrapper .filters-wrapper {
	width: 270px;
}

.aad-search-results-wrapper .filters-wrapper h3, 
.aad-search-results-wrapper .filters-wrapper h4 {
	margin-top: 0px;
	margin-bottom: 0.5em;
}

.aad-search-results-wrapper .filters-wrapper .filter-box {
	border: 2px solid #aaa;
	border-radius: 6px;
	padding: 10px 12px;
	margin: 15px 0px;
}

.aad-search-results-wrapper .filters-wrapper .filter-box label {
	font-size: 0.9em;
}

.aad-search-results-wrapper .filters-wrapper .filter-box input[type=checkbox],
.aad-search-results-wrapper .filters-wrapper .filter-box input[type=radio] {
  -ms-transform: scale(1.4); /* IE */
  -moz-transform: scale(1.4); /* FF */
  -webkit-transform: scale(1.4); /* Safari and Chrome */
  -o-transform: scale(1.4); /* Opera */
  transform: scale(1.4);
  padding: 10px;
  margin-right: 0.5em;
}

.aad-search-results-wrapper .results-wrapper {
	flex-grow: 1;
	width:	100%;
}

.aad_search_tabs_wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.aad_search_tabs_wrapper .tab_wrapper {
	display: flex;
	color: #0C0052;
	font-size: 16px;
	padding: 4px 10px;
	position: relative;
}


.aad_search_tabs_wrapper .tab_wrapper.selected,
.aad_search_tabs_wrapper .tab_wrapper .others_sub.selected {
	border-bottom: 3px solid #0C0052;
}

.aad_search_tabs_wrapper .tab_wrapper:not( .selected ):hover {
	color: #5C6092;
	cursor: pointer;
}

.aad_search_tabs_wrapper .tab_wrapper .icon {
	width: 35px;
}

.aad_search_tabs_wrapper .tab_wrapper .tab_submenu {
	display: none;
	position: absolute;
	left: 0;
	top: 30px;
	color: #0C0052;
	border: 1px solid #3C70a2;
	border-radius: 5px;
	padding: 8px;
	background-color: white;
	z-index: 9;
}

.aad_search_tabs_wrapper .tab_wrapper .tab_submenu .item {
	padding: 0px 15px;
	white-space: nowrap;
}

.aad_search_tabs_wrapper .tab_wrapper .tab_submenu .item:not( .selected ):hover {
	color: #5C6092;
	cursor: pointer;
}

#aad_search {
	margin: 40px 0px 15px;	
}

.search_box_wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	font-size: 18px;
}

.search_box_wrapper .input,
.search_box_wrapper .select,
.search_box_wrapper .button {
	flex-grow: 1;
	padding: 2px;
	min-height: 50px;
	margin-bottom: 7px;
	color: #0C0052;
}

.search_box_wrapper .input input,
.search_box_wrapper .select select{
	border-radius: 5px;
	border: 1px solid #aaa;	
	font-size: 17px;
	color: #0C0052;
}

.overflow-visible,
#aad-column-wrapper div:first-of-type {
	overflow: visible !important;	
}

.syp-button {
	color: #eaeaea;
	cursor: pointer;
	padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
    background: #fc9149;
    background-image: -webkit-gradient( linear, left bottom, left top, from( #dc7129 ), to( #fc9149 ) );
    background-image: -webkit-linear-gradient( bottom, #dc7129, #fc9149 );
    background-image: -moz-linear-gradient( bottom, #dc7129, #fc9149 );
    background-image: -o-linear-gradient( bottom, #dc7129, #fc9149 );
    background-image: linear-gradient( to top, #dc7129, #fc9149 );
    border-color: #787878;
    border-radius: 30px;
	text-transform: uppercase;
}

.syp-button:hover {
	color: #eaeaea;
    background-image: -webkit-gradient( linear, left top, left bottom, from( #dc7129 ), to( #fc9149 ) );
    background-image: -webkit-linear-gradient( top, #dc7129, #fc9149 );
    background-image: -moz-linear-gradient( top, #dc7129, #fc9149 );
    background-image: -o-linear-gradient( top, #dc7129, #fc9149 );
    background-image: linear-gradient( to bottom, #dc7129, #fc9149 );	
}

.sq-input {
	border: 1px solid #ddd;
	border-radius: 8px;
}

.sq-third {
	display: inline-block;
	width: 90px;
}

.sq-row {
	padding: 12px 0px;
	display: flex;
	justify-content: space-between;	
}

#sq-form-container {
	max-width: 300px;	
}

.tab-popup {
	visibility: hidden;
	position: absolute;
	width: 320px;
	height: auto;
	border: 2px solid #444;
	border-radius: 9px;
	padding: 15px;
	background-color: #f0f6fd;
	left: 0px;
	top: 0px;
	-webkit-box-shadow: 1px 1px 15px 3px rgba(0,0,0,0.6);
	-moz-box-shadow: 1px 1px 15px 3px rgba(0,0,0,0.6);
	box-shadow: 1px 1px 15px 3px rgba(0,0,0,0.6);
}

.tab-popup-overlay {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border-radius: 9px;
	padding-top: 50px;
	text-align: center;
	background-color: rgba( 240, 246, 250, 0.8 );
}

.tab-flex {
	display: flex;
	flex-wrap: wrap;	
}

.tab-grow1 {
	flex-grow: 1;
}

.tab-grow2 {
	flex-grow: 2;
}

.max48 {
	max-width: 48%;	
}

.tab-center {
	text-align: center;
}

.between {
	justify-content: space-between;
}

.syp-option {
	margin-top: 20px; 
	font-size: 1em;
	line-height: 1.3em; 
	padding: 12px; 
	border-radius: 10px;	
}

.option-number {
	display: inline-block;
	font-size: 2em;
	font-weight: 500;
	padding: 0px;
	width: 40px;
	height: 40px;
	line-height: 30px;
	color: #aaa;
	border: 3px solid #aaa;
	border-radius: 50%;
	text-align: center;
}

.option-number.orange {
	color: #FC9149;
	border: 3px solid #FC9149;
}

.option-number.red {
	color: #C73030;
	border: 3px solid #C73030;
}

.orange {
	color: #FC9149;
}

.red {
	color: #C73030;
}

.bg-white {
	background-color: white;
}

.bg-green {
	background-color: #249778 !important;
}

.bg-green-pale {
	background-color: #c4EFE8 !important;
}

.bg-orange,
.tab-btn.bg-orange {
	background-color: #FC9149 !important;
	border-width: 0px !important;
}

.tab-btn.cancel {
	background-color: #999 !important;
	border-width: 0px !important;
	min-width: 10px !important;
}

.bg-orange-pale {
	background-color: #FEDfCf !important;
}

.bg-blue {
	background-color: #13007D !important;
}

.bg-blue-pale {
	background-color: #e0e6ff !important;
}

.nopad {
	padding: 0px !important;
}

.errorField {
	border: 1px solid red !important;
	background: rgba(255, 215, 203, 1) !important;
}

.tab-fs-wrapper {
	
}

.tab-fs-item {
	border: 1px solid #999;
	border-radius: 5px;	
	padding: 0px;
	nomax-width: 1060px;
	margin-bottom: 75px;
	margin-top: 25px;
	-webkit-box-shadow: 1px 1px 12px 1px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 12px 1px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 12px 1px rgba(0,0,0,0.5);
}

.tab-fs-header-container {
	background-color: #0C0052;
	text-align: center;
	color: white;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.tab-fs-bottom-container {
	background-color: #e0e6ff; 
	align-items: stretch; 
	text-align: center;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.tab-fs-header-title {
	font-size: 2em;
	line-height: 1.3em;
	font-weight: 200;
	padding: 12px 8px 0px;
}

.tab-fs-header-cell {
	font-size: 1.35em;
	padding: 15px;
	font-weight: 400;
	line-height: 1.2em;
}

.tab-fs-cell {
	padding: 15px;
	font-weight: 300;
}

.tab-fs-strong {
	font-size: 1.7em;
	font-weight: 400;
}

.tab-fs-title {
	font-size: 1.5em;
	font-weight: 400;
}

.tab-fs-half {
	width: 50%;
	max-width: 50%;
}

.tab-fs-item .tab-fs-cell .tab-fs-title img {
	padding: 12px 0px;
	max-height: 140px;
	width: auto;
}

.tab-fs-links {
	justify-content: center;	
}

.tab-fs-links a {
	color: white;
}

.tab-fs-links a:hover {
	color: #FC9149;
}

.tab-fs-popup {
	padding: 0px 15px;	
}

.package-input .fs-input {
	font-size: 1.6em;
	text-align: center;
	max-width: 3em;
	padding: 5px 0px 7px;
    margin-bottom: 7px;
    border: 1px solid #666;
    height: 35px;
}

.package-input .fs-button {
	font-size: 1.5em;
	font-weight: 500;
	height: 35px;
	width: 35px;
    border: 1px solid #666;
    border-radius: 3px;
}

.package-input .fs-button:hover {
	background-color: #efe;
}

.tab-fs-owl-wrapper,
.owl-stage-outer,
.owl-stage,
.owl-item,
.bx-wrapper,
.bx-viewport {
	height: 100% !important;
}

.bx-prev, .bx-next {
	filter: brightness(1.3) contrast(2);
}

.owl-theme .owl-nav {
	margin-top: -65px !important;
}

.tab-fs-owl-item {
	height: 100%;
	max-width: 100%;
	background-position: center;
	background-size: cover;
}

.tab-fs-owl-item a div {
	width: 100%;
	height: 100%;
}

.tab-fs-owl-item a div:hover {
/*	background-color: rgba( 199, 48, 48, 0.2 );
	border-radius: 50%;*/
}

.tab_form_wrapper {
	padding: 25px;
	background-color: #779cae;
	border: 1px solid #666;
	border-radius: 6px;	
	width: 100%;
}

.tab_form_row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.tab_form_cell.left {
	width: 190px;
	color: #222;
	margin-right: 1.5em;
}

.tab_form_cell.right {
	flex-grow: 2;
	max-width: 498px;
}

.tab_form_cell.childage {
	width: 22%;
	margin-right: 12px;
}

.tab_form_cell.childage > .tab_form_cell {
	color: #222;
}

.tab_form_cell.childage input {
	max-width: 100%;
}

.hidden {
	display: none;	
}

.tab_form_cell.right input,
.tab_form_cell.right select {
	padding: 0px 10px !important;
	border: 1px solid #888;
	border-radius: 7px;
}

.tab_form_cell.right textarea,
.tab_form_cell.right input[type=file] {
	padding: 10px 10px !important;
	border: 1px solid #888;
	border-radius: 7px;
}

.tab_form_cell.right input[type=text] {
	width: 100%;
}

.tab_form_cell.right input[type=date] {
	max-width: 50%;
}

.tab_form_cell.right input[type=number] {
	max-width: 10em;
}

.tab_form_cell.right textarea {
	width: 100%;
	height: 15em;
}

.fusion-flip-boxes .fusion-flip-box .flip-box-front {
	align-items: flex-start;	
}

.fusion-flip-boxes .fusion-flip-box .flip-box-circle {
	width: 90px;
	height: 90px;
}

.fusion-flip-boxes .fusion-flip-box .flip-box-circle i {
	font-size: 3em;
}

.tab-btn {
	padding: 8px 15px !important;
	background-color: #13007D !important;
	background: #13007D !important;
	background-image: none !important;
	color: #eee !important;
	font-size: 1.1em !important;
	min-width: 10em;
	opacity: 0.85;
	border-radius: 50px !important;
    border: 1px solid #333 !important;
}

.tab-btn:hover {
	color: #fff;
	opacity: 1;
    cursor: pointer;
    outline: none;
}
.tab-btn:focus {
    outline: none;
}

.tab-btn.disabled {
	opacity: 0.4;	
}

.tab-btn.disabled:hover {
	opacity: 0.4;
    cursor: default;
}

.tab-btn.no-border {
    border-width: 0px !important;	
}

.stretch {
	height: 100%;
	margin-top: auto;
    margin-bottom: auto;
}

/*
 *	Media query for mobile phones in portrait orientation
 */
 
@media only screen and (min-width: 414px) and (max-width: 736px) and (orientation: portrait) ,
	only screen and (min-width: 375px) and (max-width: 667px) and (orientation: portrait) ,
	only screen and (min-width: 360px) and (max-width: 640px) and (orientation: portrait) ,
	only screen and (min-width: 320px) and (max-width: 568px) and (orientation: portrait) {

	#aad-grid-detector-mobile {
		display: block;
	}

	#aad-grid-detector-tablet,
	#aad-grid-detector-desktop {
		display: none;
	}

	.tab-fs-half {
		width: 100%;
		max-width: 100%;
		flex-basis: inherit;
	}

	.max48 {
		max-width: 100%;	
	}

	.aad_search_tabs_wrapper .tab_wrapper.selected {
		border: 1px solid orange;
	}

	.aad-search-results-wrapper {
		flex-direction: column;
	}

	.aad_result_container {
		border-top-right-radius: 0px;
		border-bottom-right-radius: 20px;
		border-bottom-left-radius: 20px;
		flex-direction: column;
	}

	.aad_result_image {
		max-height: 170px;
	}

	.aad_result_offer {
		border-top-right-radius: 0px;
		border-bottom-right-radius: 20px;
		border-bottom-left-radius: 20px;
		flex-basis: auto;
	}


} 

/*
 *	Media query for some devices in landscape
*/

@media 	only screen and (max-width: 812px) and (orientation: landscape), 
		only screen and (max-width: 667px) and (orientation: landscape),{

	#aad-grid-detector-tablet {
		display: block;
	}

	#aad-grid-detector-desktop,
	#aad-grid-detector-mobile {
		display: none;
	}

	.aad-search-results-wrapper {
		flex-direction: column;
	}

	.aad-search-results-wrapper .filters-wrapper {
		width: 100%;
	}

	.filters-inner-wrapper {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.aad_result_image {
		min-width: 125px;
		max-width: 140px;
		flex-basis: auto;
	}
	.aad_result_offer {
		flex-basis: auto;
		min-width: 210px;
		max-width: 210px;
	}
	
}

/*
 *	Media query for tablets
 */
 
@media only screen and (min-width: 768px) and (max-width: 1024px) {

	#aad-grid-detector-tablet {
		display: block;
	}

	#aad-grid-detector-desktop,
	#aad-grid-detector-mobile {
		display: none;
	}

	.aad-search-results-wrapper {
		flex-direction: column;
	}

	.aad-search-results-wrapper .filters-wrapper {
		width: 100%;
	}

	.filters-inner-wrapper {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
}
 

