#sidebar .standard-google-custom-search {
	margin-bottom: 10px;
}

#cse-search-box {
	margin-bottom: 0;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow:none !important;
	border: none !important;
	background: transparent;
}

.error404 form.gsc-search-box {
	background: transparent;
	border-width: 1px;
}

.error404 .cse .gsc-search-button input.gsc-search-button-v2,
.error404 input.gsc-search-button-v2 {
	margin-top: 0;
}

.error404 #main table {
	margin: 0 0 2px 0!important;
	border: none;
}

.error404 #main table th,
.error404 #main table td {
	padding: 4px;
	border: none;
}


/* search results styling */

.cse .gsc-control-cse, .gsc-control-cse {
	padding: 0 !important;
}

.gsc-above-wrapper-area {
	padding: 0 !important;
}

table.gsc-above-wrapper-area-container {
	margin: 0 !important;
}

.gsc-above-wrapper-area {
	border-bottom: none !important;
}

.gsc-resultsHeader {
	display: none;
}

table.gcsc-branding {
	border: none !important;
	margin: 0 !important;
}

table.gcsc-branding td {
	border: none !important;
}

.gcsc-branding-text-name {
	width: 120px !important;
}

table.gsc-table-result {
	border: none !important;
	margin: 10px 0 !important; 
}

td.gsc-table-cell-thumbnail {
	border-left: none !important;
}

*/

/* Smartphones */
@media (max-width: 480px) {
	.standard-google-custom-search form div input[type=text] {
		width: 63%;
	}
}

/* Tablet and Mobile */
@media (max-width: 979px) {	
	.standard-google-custom-search form div input[type=text] {
		width: 76%;
	}
}

/* Mobile to Tablet */
@media only screen and (max-width: 767px) {

	.standard-google-custom-search form div input[type=text],
	.standard-google-custom-search form div input[type=submit] {
		display: block;
		width: 100%;
	}
	
	.standard-google-custom-search form div input[type=submit] {
		width: 103%;
	}
	
}

/* Landscape Tablets */
@media (min-width: 768px) and (max-width: 979px) {
	.standard-google-custom-search form div input[type=text] {
		width: 63%;
	}
}

/* Desktop */
@media (min-width: 980px) {
	.standard-google-custom-search form div input[type=text] {
		width: 72%;
	}
}