/* GOOGLE CUSTOM SITE SEARCH STYLES */

/* ZERO OUT GOOGLE STYLES */
.cse form.gsc-search-box, form.gsc-search-box { padding: 0 !important; margin: 0 !important; }

form.gsc-search-box { margin: 0; width: auto; font-size: initial; }

table.gsc-search-box { width: inherit !important; margin: 0 !important; position: relative !important; z-index: 6; }

.cse table.gsc-search-box td.gsc-input, table.gsc-search-box td.gsc-input { padding: 0 !important; }

.cse input.gsc-input, input.gsc-input { border: none; padding: 0; width: auto; font-size: initial; }

td.gsc-search-button { width: inherit !important; }

table.gsc-search-box td { vertical-align: middle; }

td.gsc-clear-button { display: none; width: 0; }

div.gsc-clear-button { display: none; margin: 0; padding: 0; background: none !important; }

table.gsc-branding, table.gcsc-branding { display: none; width: inherit; }

/* SEARCH INPUT */

.cse input.gsc-input, input.gsc-input {
	position: absolute; 
	width: 200px; 
	height: 33px; 
	top: 0; 
	right: 32px; 
	padding: 0 10px !important; 
	border: 0 !important; 
	display: block;
	opacity: 0; 
	box-shadow: 4px 3px 11px rgba(0, 0, 0, 0.1); 
	font-family: 'Myriad Pro', sans-serif !important; 
	font-size: 14px !important; 
	line-height: 33px; 
	color: #a1a6ac; 
	transition: opacity.5s;
	background-image: none !important;
	background-color: transparent !important;
	border-color: transparent !important;
	position: static !important;
	
	opacity: 1 !important;
	box-shadow: none !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 13px !important;
	color: #555 !important;
	background: none !important;
}

.cse input.gsc-search-button, input.gsc-search-button {
	position: relative; 
	top: 2px; 
	left: 1px; 
	border: 0 !important;
	background-image: url(/css/images/sprite.png) !important;
    	background-position: -88px -36px;
   	width: 30px;
   	height: 29px !important;
   	display: inline-block;
   	vertical-align: middle;
   	font-size: inherit !important;
   	background-color: transparent !important;
   	border-color: transparent !important;
   	margin: 0  !important;
   	padding: 0 !important;
   	min-width: initial !important;
   	color: transparent !important;
	display: block;
}


.cse input.gsc-search-button,
input.gsc-search-button { display: block; }

input.gsc-search-button { margin-top: 3px !important; }

.gsc-search-box:hover .gsc-input { width: 200px; display: block; opacity: 1; }

.gsc-input { position: absolute; width: 0; height: 35px; top: -2px; right: 100%; display: none; opacity: 0; background: #fff; transition: visibility .5s, opacity .5s; }

/* ------------------------------------------------------------ *\
	Search
\* ------------------------------------------------------------ */

.search { position: relative; display: block; float: right; padding: 0 0 0 3px; z-index: 6; width: 30px; }



.search:hover .search-field { visibility: visible; opacity: 1; }



.search .search-field { position: absolute; width: 198px; height: 33px; top: 0; right: 32px; padding: 0 10px; border: 0; visibility: hidden; opacity: 0; box-shadow: 4px 3px 11px rgba(0, 0, 0, 0.1); font-family: 'Myriad Pro', sans-serif; font-size: 14px; line-height: 33px; color: #a1a6ac; transition: opacity.5s; }

.search .search-btn { position: relative; top: 2px; left: 1px; border: 0; background: none; }



@media(max-width: 850px){



	/* ------------------------------------------------------------ *\

		Search

	\* ------------------------------------------------------------ */

	

	.search { padding-top: 2px; }



	.search .search-btn { position: static; }
	.search input.gsc-search-button { display: block; }
}






@media(max-width: 810px){


	.search { float: none; width: 100%; padding-top: 0; }

	.gsc-input { position: static; width: 100% !important; display: block; opacity: 1; background: none; }

	.search input.gsc-search-button { position: absolute; top: 50%; left: auto; right: 5px; transform: translateY(-50%); -webkit-transform: translateY(-50%); }
	
	.search input.gsc-search-button { display: block; }
	/**/

	.gsc-input { position: static; width: 100% !important; display: block; opacity: 1; background: none; }

	.search input.gsc-search-button { position: absolute; top: 50%; left: auto; right: 5px; transform: translateY(-50%); -webkit-transform: translateY(-50%); }
	.search { float: none; width: 100%; padding-top: 0; }

	.search input.gsc-search-button { display: block; }

	
}



@media(max-width: 767px){

	/* ------------------------------------------------------------ *\
		Search
	\* ------------------------------------------------------------ */



	.search { float: none; padding: 0 15px; }

	

	.search .search-btn { position: absolute; top: 50%; left: auto; right: 10px; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }

	.search .search-field { position: static; visibility: visible; opacity: 1; box-shadow: none; font-family: 'Open Sans', sans-serif; font-size: 13px; color: #555; background: none; }


	.search input.gsc-input { position: static; width: 100% !important; padding: 0 30px 0 0 !important; display: block; opacity: 1; }
	.search input.gsc-search-button { right: -10px; }
	
	
}


/* RESULTS */

#new-gse .gsc-results {
	width: auto;
}
#new-gse .gsc-control-cse {
	border-color: #FFF;
}

.cse .gsc-results, .gsc-results {
	margin-top: 0 !important;
}
.cse .gsc-control-cse, .gsc-control-cse {
	border: none;
}
.gsc-above-wrapper-area {
	border: none;
}

.gsc-control-cse, .gsc-control-cs .gsc-table-result {
	width: auto !important;
	font-size: 14px;
	color: #444444;
	line-height: 18px;
}
.gsc-webResult .gsc-result {
	padding: 15px 0 !important;
}

.gsc-webResult.gsc-result, .gsc-results .gsc-imageResult {
	padding: 10px;
	border-color: #FFFFFF !important;
}

.cse .gsc-webResult.gsc-result, .gsc-webResult.gsc-result, .gsc-imageResult-classic, .gsc-imageResult-column {
	border: 1px solid white;
	border-bottom: 1px solid #ebebeb !important;
	padding: 15px 0;
	margin: 0 !important;
}