/** ----------------------------------------------------------
 *
 * This stylesheet includes both generic form styles and 
 *    additional form styles for the User Defined Form Module. 
 *
 ** ------------------------------------------------------- */

select,
button,
[type="button"],
[type="reset"],
[type="submit"],
[type="date"] {
  -webkit-appearance: button;
}

/* GENERIC FORMS
----------------------------------------------- */
@font-face {
    font-family: 'icon-worksregular';
    src:url(../fonts/icon-works-webfont.eot);
    src: url(../fonts/icon-works-webfont.eot?#iefix) format('embedded-opentype'),
         url(../fonts/icon-works-webfont.woff) format('woff'),
         url(../fonts/icon-works-webfont.ttf) format('truetype'),
         url(../fonts/icon-works-webfont.svg#icon-worksregular) format('svg');
    font-weight: normal;
    font-style: normal;
}


.keyword-search{
	display: inline-flex;
    position: relative;
}
.keyword-search:before {
	content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 40px solid transparent;
    border-right: 35px solid #F3F3F3;
    left: -35px;
    top: 0;
    bottom: 0;
}
.header-search input{	
    width: 100%;
    vertical-align: middle;
    border: none!important;
    background: transparent!important;
    text-transform: uppercase;
    border-radius: 0;
    color: #555!important;
	height: 40px!important;
    font-family: 'Oswald', 'Arial', 'sans-serif';
    font-weight: 400;
    font-size: 14px;
    padding: 0 15px!important;
    line-height: 40px!important;
}
.header-search .search-input{
	display:inline-block;
	background:#f3f3f3;
}
.header-search .submit-btn{
	width:40px;
	display:inline-block;
	vertical-align:middle;
	overflow:hidden;
	transition:ease-in .3s;
	margin-left:-5px;
}
.header-search input[type='submit']{
	font-family: 'icon-worksregular';
    -webkit-appearance: none;
    color: #fff!important;
	line-height: 22px!important;
    background: #007CF5 !important;
    transform: skewX(0);
    height: 40px!important;
    cursor: pointer;
    padding: 10px!important;
    font-size: 22px!important;
	border-radius: 0!important;
	font-weight: 900;
}



/* Detailed Homepage Search
---------------------------------------------*/
.detailed-search {padding:40px 60px; background:#fff; width: 100%; display: flex; flex-wrap: wrap; align-items: center; margin: 0 2%;}
.detailed-search #search-new, .detailed-search #search-used {display: none;}

#tab1:checked ~ #search-new,
#tab2:checked ~ #search-used{
  display: block;
  width: 100%;
}

.home-search{background:#EBEAEA; padding:60px; position: relative; display: block;}
.home-search .flex-wrapper {flex-wrap: nowrap;}

.detailed-search h3{
	text-transform:uppercase;
	font-weight:400;
	font-size:24px;
	letter-spacing: .5px;
	line-height: 1.6;
	padding-bottom: 10px;
	color: #000;
	width: 100%;
}
.detailed-search input{
	padding:15px 20px;
	width:100%;
	vertical-align:middle;
	background:#EBEAEA;
	border:1px solid #8e8e8e;
}
.detailed-search select {width: 100%; padding: 10px; border-radius: 0; font-size: 16px; color: #000; background: #fff; border: 1px solid #666;}

.detailed-search label.container{padding:0;font-family: 'Open Sans', sans-serif; font-size:16px;}
.detailed-search input[type="checkbox"], input[type="radio"], .detailed-row input[type="radio"]{
	display: inline-block;
	vertical-align: middle;
	margin:0 5px;
	width:15px;
	background:transparent;
}

#yesQuestion select, #noQuestion select, #yesQuestion2 select, #noQuestion2 select {width: 100%; padding: 5px;}


.detailed-row{
	width:100%;
	padding:10px 0;
	margin:0 auto;
}                        
.detailed-search .col2{
	width: calc(50% - 1em);
	display: inline-block;
	vertical-align: bottom;
}

.detailed-search input[type='submit']{
	font-size:20px;
	color:#004BB9;
	border: 2px solid #004BB9;
	background: transparent;
	text-transform: uppercase;
	width:100%;
	max-width: 180px;
	padding:10px 25px;
	font-family: 'Oswald', sans-serif;
	letter-spacing: 2px;
	cursor: pointer;
	border-radius: 0;
	font-weight: 400;
	transition: ease .3s;
}
.detailed-search input[type='submit']:hover {
	background:#004BB9!important;
	color: #fff;
}



/********** MEDIA QUERIES **********/

@media screen and (max-width: 1400px) { 
	.home-search {padding: 60px 40px;}
}

@media screen and (max-width: 930px) {
	.detailed-search {padding: 30px;}
	.home-search {padding: 40px;}
}

@media screen and (max-width: 767px) { 	
	.keyword-search {display: none;}	
	.home-search .flex-wrapper {flex-wrap: wrap;}
	.detailed-search {margin-bottom: 20px;}
}

@media screen and (max-width: 600px) { 
	.detailed-row .flex-wrapper {flex-wrap: wrap;}
	.home-search {padding: 20px;}
	.detailed-search input[type="checkbox"], input[type="radio"] {width: 10px; margin: 0 3px;}
}
