#topbar {
	background: #444;
}
#topbar, #topbar a, #topbar span {
    color: #eee;
}
#topbar .switcher span.s_selected:hover, #topbar a:hover {
    color: #fff;
}
#topbar .switcher .row a {
	color: rgba(0,0,0,.6);
}
#topbar .switcher .row a:hover {
	color: rgba(0,0,0,.8);
}
#topbar .cell {
	height: 28px;
	padding: 5px 0;
}
ul.nav #logo a {
	padding: 0;
	width: 10em;
}
ul.nav > li {
	padding: 1em 0;
}


@media (max-width: 768px) {
	ul.nav .nav-search {
		font-size: 14px;
	}
}
@media (max-width: 640px) {
	ul.nav .nav-search {
		font-size: 13px;
	}
}
@media (max-width: 500px) {
	ul.nav .nav-search {
		font-size: 12px;
	}
	ul.nav .nav-logo {
		padding-right: .3em;
	}
}
@media (max-width: 450px) {
	ul.nav .nav-search {
		font-size: 11px;
	}
}

#header {
	background-color: #f3f3f3;
}
ul.nav .nav-search input {
	background: #fff;
}


#header_bottom .flexslider + #ymm-header, #header_bottom .fixed-banner + #ymm-header {
	margin-top: -39px;
}


/* YMM Filter */
#ymm-header .button {
	font-size: inherit;
	line-height: 1.1em;
	padding: 0.55em 1.5em 0.55em 1.5em;
	border: 1px solid transparent;
	box-sizing: border-box;
}
#ymm-header .htabs a {
	white-space: nowrap;
}

#ymm-header .htabs a + a {
	border-left: 1px solid #ccc;
}

#ymm-header .htabs a.selected + a, #ymm-header .htabs a:hover + a {
	border-left-color: transparent;
}
#ymm-header .htabs a.selected, #ymm-header .htabs a:hover {
	border-color: transparent;
}

#ymm-header .select2-container--disabled {
	opacity: 0.6;
}

#ymm-header .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #555;
}

#ymm-header .select2-container .select2-selection--single {
	height: auto;
	border-color: transparent;
}

#ymm-header .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%;
	height: auto;
}

#ymm-header .select2-container .select2-selection--single .select2-selection__rendered {
    text-transform: uppercase;
    padding: 0.55em 2.1em 0.55em 1em;
    line-height: 1.1em;
}

#ymm-header .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
	border-bottom-color: #aaa;
}
#ymm-header .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
	border-top-color: #aaa;
}
#ymm-header .tab-content {
	padding: 10px;
}
#ymm-header #tab-search {
	padding: 18.5px;
}
#ymm-header .select2-content {
	display: flex;
	justify-content: space-between;
}
#ymm-header .select2-content > div {
   margin: .55em 0.25em;
}
#ymm-header .select2-content .select2-wrapper {
	flex: 1;
	width: auto;
}
#ymm-header .select2-content > div > select {
	width: 100%;
}

#ymm-header .select2-content .ymm-submit-wrapper .button {
	margin: 0;
	white-space: nowrap;
	border-radius: 3px;
	font-size: 0.933em;
	padding: .39em 1em;
}

#ymm-header .submit-wrapper .button {
	margin-top: 0;
	margin-bottom: 0;
	border-radius: 4px;
}

@media (max-width: 1140px) {
	#ymm-header {
   		width: 94%;
    	margin: 7px auto;
    }
}

@media (max-width: 875px) {
	#ymm-header {
		font-size: 13.5px;
	}
}

@media (max-width: 767px) {
	#ymm-header {
		font-size: 12px;
	}
	#ymm-header .htabs a {
		font-size: 1em;
		padding: 14px;
	}
}
@media (max-width: 685px) {
	#ymm-header {
		font-size: 12px;
	}
}
@media (max-width: 630px) {
	
	#ymm-header .ymm-set {
		font-size: 14px;
	}

	#ymm-header .select2-content {
		display: block;
	}
	#ymm-header .htabs a {
		width: 50%;
	}
	#ymm-header .htabs a:last-child {
		display: none!important;
	}
	#ymm-header .htabs a:nth-child(3), #ymm-header .htabs a:nth-child(4) {
		border-top: 1px solid #ccc;
	}
	#ymm-header .htabs a:nth-child(3) {
		border-left-color: transparent;
	}
}

@media (max-width: 580px) {
	#ymm-header .ymm-set {
		font-size: 13px;
	}
}

@media (max-width: 360px) {
	#ymm-header .htabs a {
		float: left;

	}
}