.customized .header *,
.customized .header *::before,
.customized .header *::after {
	box-sizing: border-box;
}

.navbar.simulating {
	background-color: #C33;
}

@media (min-width: 768px) {
	.customized .navbar {
		border-radius: 0px; /* We want it with square corners in all sizes */
	}
	.customized .navbar-nav li a { /* Replace the 15px vert padding with 10px from standard bootstrap css */
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

.customized .navbar {
	min-height: 40px; /* shorter navbar 40px instead of 50px */
	margin-bottom: 0px; /* narrow the rest of the page, 0px instead of 20px */
}

.customized .navbar-brand {
	padding: 5px 15px; /* get off the 15px vert padding from standard bootstrap css */
	height: 40px; /* restore size to the one defined in the previous used version of bootstrap 3.0.2  */
}

.customized .navbar-toggle {
	margin: 4px 15px 4px 0px;
}

@media (max-width: 767px) {
	.customized .navbar-nav {
		/* Get off the standard 7.5px vertical margin bellow the 768 breakpoint */
		/* See: bootstrap.css rules, at lines #4536 and #4570 */
		margin-top: 0;
		margin-bottom: 0;
	}
}

.navbar-collapse-container {
	overflow: hidden;
}

/* This fix avoid modals to display a blank column at the right of the page. (visible in the upper right corner, because navbar is dark)
 * before bootstrap version 3.3, opening a modal makes the content of the page shift to the left a vertical scrollbar appears. 
 * In version 3.3 this has been fixed, but the scrollbar is visually replaced by 'blank'
 */
.customized.modal-open { 
	overflow:inherit; 
	padding-right:inherit !important; 
}

.customized .navbar-right {
	margin-right: -30px;
}


.customized .alva-alert-banner .alert-content {
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.customized .alva-alert-banner {
	text-align: center;
}

/*********************************/
/**          SEARCH BAR          */
/*********************************/

/**   GENERAL SEARCH BAR STYLE   */
.header .btn.header-search-btn {
	width: 30px;
	height: 25px;
	color: #999;
	background-color: #222;
	border: none;
	border-right: 1px solid #999;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	z-index: 2;
}

.header .header-search-input {
	height: 25px;
	border: none;
	margin-top: 0;
	color: #FFF;
	background-color: #222;
	border: none;
	border-left: 1px solid #999;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	padding: 3px 12px;
	box-shadow: none;
}

.header .header-search-input:focus,
.header .header-search-input:focus + span .header-search-btn {
	border-color: #FFF;
}

.header .header-search-input:focus + span .header-search-btn .glyphicons::before {
	color: #FFF;
}

.header .mobile-search-bar .input-group .form-control.header-search-input, 
.header .mobile-search-bar .input-group .form-control.header-search-btn {
	font-size: 16px;
}

.header .input-group .form-control.header-search-input, 
.header .input-group .form-control.header-search-btn {
	font-size: 12px;
}

.header .header-search-btn .glyphicons::before {
	font-size: 14px;
	color: #999;
	position: relative;
}

.header .header-search-btn .glyphicons {
	margin-top: -13px;
	margin-left: -4px;
	top: 0;
	padding-left: 0px;
	color: #000;
}

/**     MOBILE SEARCH BAR     */
.header .navbar-collapse-search {
	overflow: hidden;
}

@media(min-width: 768px) {
	.header .navbar-collapse-search {
		display: none !important;
	}
}

.header .mobile-search-bar .navbar-form {
	margin: 0;
	padding: 0;
}

.header .mobile-search-bar .input-group {
	margin: 10px 5px;
}

/**     DESKTOP SERCH BAR     */
.header .desktop-search-bar .input-group .header-search-input {
	width: 100px;
	-webkit-transition: width 0.2s ease-in-out;
	-moz-transition: width 0.2s ease-in-out;
	-o-transition: width 0.2s ease-in-out;
	transition: width 0.2s ease-in-out;
}

.header .desktop-search-bar .input-group .header-search-input:focus {
	width: 250px;
}

.header .desktop-search-bar .input-group-btn {
	width: auto;
}

.header .desktop-search-bar .input-group {
	margin-top: 0;
}

/**     MOBILE SEARCH BUTTON     */
.header .search-dropdown-btn {
	height: 34px;
	width: 44px;
	padding: 9px 10px;
}

.header .search-dropdown-btn .glyphicons::before {
	font-size: 16px;
	color: #FFF;
	position: relative;
	margin-right: 0;
}

.header .search-dropdown-btn .glyphicons {
	margin-top: -10px;
	margin-left: 2px;
	top: 0;
	padding-left: 0px;
	color: #FFF;
}
