.inv-search-wrap .detailed-search-wrap {
	top: 0!important;
	width: 1250px;
	max-width: 100%;
	margin-top: 50px;
	z-index: 4;
	background: #ebebeb;
	box-shadow: none;
}

.detailed-search-wrap .btn-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.detailed-search-wrap a#inv-btn {
	width: calc(25% - .5em);
	margin: .25em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 10px 10px;
	letter-spacing: 1px;
	color: #000;
	background: #f6f6f6;
	text-align: center;
	font-size: 13px;
	border-radius: 13px;
	text-decoration: none;
	font-weight: 600;
	-webkit-transition: .4s ease-in;
    -moz-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
}

.detailed-search-wrap a#inv-btn:hover {
	background: #bfbfbf;
}

.detailed-search-wrap a#inv-btn span {
	margin-bottom: 1em;
	line-height: 1.3;
}

.detailed-search-wrap a#inv-btn img {
	width: 100%;
	height: auto;
	max-width: 111px;
}

/* ===== DETAILED SEARCH ===== */
.search-wrapper {
	z-index: 3;
	width: 100%;
	position: relative;
	top: -80px;
}
.detailed-search-wrap {
	padding: 1em 2em;
	background: #fff;
	box-shadow: 0px 15px 40px rgb(26 30 43 / 13%);
	position: relative;
	margin: 0 auto;
	box-sizing: border-box;
	max-width: 100%;
	width: 1200px;
}

.content {
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 1px;
	text-align: center;
}

.detailed-form {
	margin: auto;
}

.clear {
	clear: both;
}

.detailed-row {
	margin: 10px 0 5px;
	font-size: 18px;
	display: inline-flex;
	width: 100%;
}

.column3 {
	width: 33.33%;
	float: left;
	padding-right: 45px!important;
	box-sizing: border-box;
	margin-top: 5px;
}

div.column3.last {
	padding-right: 0px!important;
}

.detailed-search input[type='submit'] {
	font-size: 9px;
	font-weight: 700;
	background: #2970ca;
	width: 100%;
	margin-top: 12px;
	height: 30px;
	text-transform: uppercase;
	color: #fff;
	display: inline-block;
	border-radius: 13px !important;
	outline: none;
    -webkit-transition: .4s ease-in;
    -moz-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
	-webkit-appearance: none;
	border: 1px solid transparent;
	letter-spacing: 2px;
	cursor: pointer;
	max-width: 222px;
	margin-left: 2em;
}

.detailed-search input[type='submit']:hover{
	background:#021059;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in; 
	-o-transition:.3s ease-in;
	transition:.3s ease-in;
}

.detailed-search input[type='text'] {
	width: 100%;
	margin: 2px 0;
	padding: 0 8px;
	font-size: 13px;
	height: 35px;
	background-color: transparent;
	border-bottom: 1px solid #000;
	border-top: none;
	border-left: none;
	border-right: none;
	box-sizing: border-box;
	-webkit-border-radius: 0;
	border-radius: 0;
	color: #252627;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #252627;
  letter-spacing: .5px;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #252627;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #252627;
}
:-moz-placeholder { /* Firefox 18- */
  color: #252627;
}

.detailed-search-wrap h3 span {
	color: #d7d7d7;
}

main {
  width:100%;
  padding: 50px;
  margin: 0 auto;
}

.detailed-search-wrap section {
  display: none;
  padding: 9px 0 0;
}

.detailed-search-wrap label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 9px 25px!important;  
  text-align: center;
  font-weight: 600;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #bfbfbf;
  font-size: 12px;
}

.detailed-search-wrap label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

/*label[for*='1']:before { content: '\f1cb'; }
label[for*='2']:before { content: '\f17d'; }
label[for*='3']:before { content: '\f16b'; }
label[for*='4']:before { content: '\f1a9'; }*/

.detailed-search-wrap label:hover {
  cursor: pointer;
  background: #b5b5b5;
  -webkit-transition:.3s ease-in;  
  -moz-transition:.3s ease-in; 
  -o-transition:.3s ease-in;
  transition:.3s ease-in;
}

.detailed-search-wrap input:checked + label {
  color: #fff;
  padding-top: 10px;
  font-weight: 900;
  background: #8f1720;
  border-radius: 13px;
  box-shadow: 0 3px 2px -2px rgba(0,0,0,.3);
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}

.column3 select.cat-search {
	background: none;
	width: 100%;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	border-bottom: 1px solid #000;
	margin: 2px 0;
	color: #252627;
	border-top: none;
	border-left: none;
	border-right: none;
	border-radius: 0;
	box-sizing: border-box;
	height: 40px;
	padding: 0 8px;
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1290px) {
	.detailed-search-wrap .btn-wrapper {flex-wrap: wrap;}
	.detailed-search-wrap a#inv-btn {width: calc(50% - .5em); padding: 20px 5% 10px;}
}
@media screen and (max-width: 1005px) {
	.search-wrapper {top: 0;}
}

@media screen and (max-width: 767px) {
	.column3 {width: 100%; padding-right: 0px!important;}
	.search-wrapper .wrapper-width {width: 100%!important;}
	.detailed-search-wrap {padding: 25px 25px 45px 25px; width: 95%;}
	.detailed-search-wrap a#inv-btn {width: 100%; margin: 0 auto; margin-bottom: 2px;}
	.detailed-search-wrap .btn-wrapper {max-width: none;}
}

@media screen and (max-width: 570px) {
	.detailed-search-wrap a#inv-btn {width: 100%; border-left: none;}
	.search-wrapper {top: 0;}
	.detailed-row {flex-wrap: wrap;}
	.detailed-search input[type='submit'] {margin-left: 0; max-width: none;}
}