/*******************************************************
 *
 * Search
 *
 *******************************************************/

.img-wrapper {
    position: relative;
    overflow: hidden;
}

.img-wrapper canvas {
    display: block;
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
}

.search-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 80px 0 130px 0;
}

.search-image {
	position: relative;
	width: 70%;
	margin-left: -30%;	
}


/* tabs content */
.search-form {
	max-width: 560px;
	width: 100%;
	background: #fff;
	padding: 55px 45px;
	z-index: 2;
  box-shadow: 0px 10px 30px 0px #717171;
}

#content .tab-container h2 {
	font-family: var(--font-family-title);
	font-size: 44px;
	line-height: 1.2;
	font-weight: 100;
	color: #191919;
	margin: 0;
}

.search-tab-controls {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 25px 0 40px;
}

.search-tab-control {
	background: #191919;
	color: #fff;
	padding: 10px 20px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	cursor: pointer;
	width: 50%;
	text-align: center;
	transition: all 0.4s ease-in-out;
	align-items: center;
  display: flex;
  justify-content: center;
}

.search-tab-control.active,
.search-tab-control:hover {
	background: #d85939;
}



/* tabs content */
.search-tab-contents {
	position: relative;
	display: block;
}

.search-tab-contents form label {
	display: none;
}

.search-tab-content {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.search-tab-content.active {
	display: block;
	position: relative;
}

.search-field input, .search-field select {
	border: 0;
	 background: transparent; 
	appearance: none;
	width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.07em;
	border-bottom: 1px solid #a3a3a3;
	margin-bottom: 15px;
	padding: 7px 5px;
}

.search-date input {
	background: url('../../images/search-calendar.png') no-repeat right center; 
	background-position-x: 98%;
}

.search-select select {
	background: url('../../images/search-select.png') no-repeat right center; 
	padding-right: 20px;
	border-radius: 0;
	background-position-x: 98%;
}

.search-field input:focus, .search-field select:focus,
.search-field input:active, .search-field select:active {
	 outline: none;
	text-decoration: none;
}

.search-field input:focus, 
.search-field input:active {
	 background: none;
}

.search-field select option {	
	border-radius: 0;
	border: none;
	border-bottom: 1px solid #a3a3a3;
	background: #f7f7f7;
}

.search.field.search-submit {
	text-align: right;
	margin-top: 10px;
}

.search-submit input {
	border: 0;
	background: transparent;
	margin-left: auto;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: #d85939;
	font-weight: 600;
}



/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (min-width: 992px) and (max-width: 1600px) {
	.search-image .img-wrapper {
		min-height: 600px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {
	.search-wrapper {
		flex-flow: column;
	}
	
	.search-form {
		margin-bottom: 50px;
	}
	
	.search-image {
		margin: 0;
		width: 100%;
	}
}


/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */

@media only screen and (max-width: 767px) {	
	
}

@media only screen and (max-width: 567px) {	
	
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */

@media only screen and (max-width: 480px) {
	
}