
body { 
	background-color: silver;
	background-image: url('/img/bg.jpg');
	background-size: 2100px;
	background-repeat: repeat;
	background-attachment: fixed;
    background-position: center;
    font-size: 16.6px;
/*    background-size: 800px;
	background-size: cover;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;*/
	color: #000;
	line-height: 1.6;
/*	font-family: 'Oswald', sans-serif;*/
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	letter-spacing: 0.12px;
}

@media (max-width: 1349px) {
	body {
		font-size: 15.3px;		
	}
}

@media (max-width: 900px) {
	body {
		background-size: 1250px;
	}
}

@media (max-width: 767px) {
	body {
		padding-top: 15px;
		font-size: 14.8px;
	}
}

.page-header .lead {
	color: rgb(77,77,77) !important;
}

.clear {
	clear: both;
}

.right {
	float: right;
}

@media (min-width: 768px) {
	.lead {
		font-size: 17px;
		margin-bottom: 5px;
	}
}

.logo {
	max-height: 35px;
	padding: 3px;
	margin: 14px auto 18px auto;
	transition: 0.25s all;
}

@media (min-width: 1200px) {
	.logo {
		max-height: 55px;
	    margin-top: 35px;
		margin-bottom: 35px;
		transition: 0.25s all;
	}
}

.ta-center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.loggeduser .btn-default {
	padding: 6px 9px
}

@media (max-width: 767px) {
	.loggeduser .btn .caret {
		margin-left: -5px;
	}
}

.sidebar .sidebar-toggle {
	position: absolute;
	right: 0;
	padding: 10px 15px 5px 100%;
	color: gray;
	cursor: pointer;
}

.page-header {
	border-color: rgba(116,133,17,1);
	padding-bottom: 5px;
}

@media (max-width:767px) {
	.page-header {
		border: 0;
	}
}

.visible-xlg {
    display: none !important;
}

@media (min-width: 1400px) {
	.visible-xlg {
    	display: block !important;
    }
	td.visible-xlg, th.visible-xlg {
    	display: table-cell!important;
	}
}

.hidden-xlg {
    display: block !important;
}
td.hidden-xlg, th.hidden-xlg {
   	display: table-cell !important;
}

@media (max-width: 1399px) {
	.hidden-xlg {
    	display: none !important;
    }
}

.visible-xxlg {
    display: none !important;
}

@media (min-width: 1500px) {
	.visible-xxlg {
    	display: block !important;
    }
	td.visible-xxlg, th.visible-xxlg {
    	display: table-cell!important;
	}
}

.hidden-xxlg {
    display: block !important;
}
td.hidden-xxlg, th.hidden-xxlg {
   	display: table-cell !important;
}

@media (max-width: 1499px) {
	.hidden-xxlg {
    	display: none !important;
    }
}

.maincontainer {
	padding: 15px;
	width: 100%;
	max-width: 2000px;
	margin: 0;
	margin-bottom: 27px;
}

@media (max-width:1150px) {
	.maincontainer {
		width: 100% !important;
		max-width: 100% !important;
	}
}

@media (min-width: 768px) {
	.sidebar + .maincontainer {
		padding: 20px;
		padding-left: 230px;
	}
	.sidebar + .maincontainer > #footer {
		padding-left: 230px;
	}
}

@media (min-width: 1100px) {
	.sidebar + .maincontainer {
		padding: 15px 35px 65px 280px;
	}
	.sidebar + .maincontainer > #footer {
		padding: 4px 7px;
		line-height: 1.1;
		text-align: center;
		width: 245px;
		z-index: 1100;
	}
	.maincontainer {
		margin-bottom: 0;
	}
}

hr {
	border-top: 1px solid rgba(116,133,17,1);
}

#header {
	position: relative;
	float: right;
	margin-bottom: 1px;
}

.form-group {
    margin-bottom: 2px;
}

.loggeduser .dropdown-menu {
	right: 0;
	left: auto;
	//border: 0;
}

.mobile-header .loggeduser .dropdown-menu {
	margin-top: 8px;
}

.modal {
	background-color: transparent !important;
	border-color: transparent !important;
}

.modal-dialog {
	margin-top: 70px;
}

@media (min-width: 768px) {
	.form-horizontal .control-label {
    	padding-top: 4px;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 13px;
	}
}

a, a:hover {
	color: black;
}

p {
    margin: 0 0 10px;
}

h1 {
	color: #111;
    font-size: 24px;
}

h2 {
	color: #333;
    font-size: 22px;
}

h3 {
	color: #555;
    font-size: 20px;
}

small {
	font-size: 60%;
}

@media (max-width: 767px) {
	h1 {
    	font-size: 21px;
	}
	h2 {
		font-size: 19px;
	}
	h3 {
    	font-size: 17px;
	}
}

.page-header h1,
.page-header h2 {
	margin-bottom: 5px;
}

.page-header h1 small,
.page-header h2 small,
.page-header h3 small {
	color: rgba(116,133,17,1);
}

.page-header.no-border {
	border: 0;
	margin-bottom: 0;
}

#content {
	clear: both;
    //background: url('/img/bg.png') repeat top center;
	//padding: 20px;
} 

#content #alerts .alert {
	margin-bottom: 2px;
	padding-top: 9px;
	padding-bottom: 1px;
	line-height: 1.5;
	min-height: 40px;
}

#content #alerts .alert .btn.right {
	margin-left: 1px;
}

#content #alerts .alert .btn-xs.right {
	margin-top: -2.5px;
	margin-bottom: 2.5px;
}

#content #alerts .alert .btn-sm.right {
	margin-top: -4px;
	margin-bottom: 3.5px;
}

@media (max-width:767px) {
	#content #alerts .alert {
		margin-top: 20px;
	}
	#content #alerts .alert .btn.right {
		clear: both;
	}
}


.media-container img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.bordered {
    border: 2px solid rgba(0,0,0,0.57);
    color: rgba(0,0,0,0.65);
    padding: 2px 1px;
    font-size: 74%;
    font-weight: bold;
    min-width: 20px;
    display: inherit;
    text-align: center;
    line-height: 1.18;
}

.records.table .glyphicon-info-sign {
	cursor: help;
}

.records.table .currency {
	opacity: 0.6;
	font-size: 79%;
}

.popover-content {
	font-size: 88%;
}

.popover-content div.item {
	width: 122px;
	display: inline-block;
	float: left;
}

.popover-content span {
	min-width: 47px;
	text-align: right;
	display: inline-block;
}

table.table td[onclick] {
	cursor: pointer;
}


/* languages */

.languages {
}

.languages a {
	opacity: 0.75;
	margin-left: 5px;
	margin-right: 1px;
/*	-webkit-filter: grayscale(80%);
	-moz-filter: grayscale(80%);
	filter: grayscale(80%);
*/	
}

.languages a:hover,
.languages a.active {
	opacity: 1;
}

.table thead th {
	font-size: 86%;
}

.table tbody {
	background-color: rgba(255, 255, 255, 0.75);
}

.table.table-hover tbody tr:hover {
	background-color: rgba(230, 230, 230, 0.81);
}

@media (min-width:992px) {
	.table.table-hover tr:not(.selected) td .btn:not(.btn-xs) {
		opacity: 0.37;
	}
	.table.table-hover tr:hover td .btn:not(.btn-xs) {
		opacity: 1;
	}
}

.table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td, .table-condensed>thead>tr>th {
	padding: 4px 4px 3px 4px;
}

/* upload */

.upload-tabs {
	margin-top: 10px;
}

.upload-tabs .tab-content {
	border-color: rgba(0,0,0,0.25);
}

.image {

}

.image img { 
	border: 3px solid rgba(255, 255, 255, 0.65);
/*	-webkit-filter: grayscale(60%);
	-moz-filter: grayscale(60%);
	filter: grayscale(60%);
	transition: 0.3s all;
*/	
}

.image img:hover { 
/*	-webkit-filter: none;
	-moz-filter: none;
	filter: none;
	transition: 0.3s all;
*/	
}

.image-options {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -100px;
    padding: 3px 6px;
}

.image-options form {
	display: inline-block;
}

.btn-group > .btn:first-child {
	margin-right: 1px;
}

.btn-group > .btn:nth-child(2) {
	margin-right: -1px;
}

.btn-group > .btn:nth-child(2) {
	border-left: 0;
}

.btn-group > .btn:nth-child(3) {
	border-left: 0;
}

.btn-group > .btn:nth-child(4) {
	border-left: 0;
}

.btn-group > .btn:nth-child(5) {
	border-left: 0;
}

.logout-btn {
	border-left: 0 !important;
}

#notification,
#alert {
	position: fixed;
	top: 0px;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	background: rgba(5, 65, 140, 0.9);
	color: white;
	z-index: 9999;
	cursor: pointer;
	padding: 5px;
	height: 55px;
	display: table;
}

#notification.notification-warning,
#alert.notification-warning {
	//background: rgba(245, 96, 96, 0.9);
	background: rgba(236, 140, 50, 0.9);
}

#notification > span.centered,
#alert > span.centered {
	display: table-cell;
	vertical-align: middle;
}
#notification:focus,
#alert:focus {
	outline: none;
}

@media (max-width:768px) {
	#notification,
	#alert {
		font-size: 14px;
		padding: 2px 5px;
	}
}

#footer {
	background: rgb(70, 70, 70);
	color: white;
    z-index: 5;
}

#footer a {
	color: rgb(220,220,220);
}

/* not found */
.not-found {
	margin-top: 50px;
	margin-bottom: 80px;
}

.nav-tabs {
	border-color: #2e6da4; 
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
	background-color: #337ab7;
    border-color: #2e6da4;
    color: white;
}

.nav-tabs>li>a:hover {
	border-color: #2e6da4; 
}

/*
    background-color: #337ab7;
    border-color: #2e6da4;
*/

/* DEBUG */
.debug-button, .debug-window {
    z-index: 999999;
}

.debug-button {
    right: 45px !important;
    bottom: 3px !important;
    border-radius: 4px;
}

table.table {
	font-size: 80%;
	margin-top: 15px;
	margin-bottom: 0;
}

table.table>tbody>tr>td {
	//vertical-align: bottom;
}

table.table.one-row-td-with-ellipsis td {
    max-width: 105px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
table.table td:last-child {
    overflow: visible;
}

table.table td > div.dropdown {
	display: inline-block;
}

.table .progress {
	margin: 4px 0;
	height: 13px;
}

.table td .btn-sm {
	margin: -2px -2px 2px -1px;
    padding: 4px 8px;
}

table.table-hover tr td:last-child {
    padding-top: 3px;
    padding-bottom: 1px;
	padding-left: 2px;
}


@media (max-width:767px) {
	.table td .btn {
    	padding: 3px 8px 4px 7px;
	}
}

@media (min-width:768px) and (max-width:991px) {
	#q {
		max-width: 110px;
	}
}

/*table.table.table-condensed td {
	padding-top: 7px;
    padding-bottom: 0px;
}
table.table.table-condensed td:last-child {
    padding-top: 2px;
}*/

.datepicker {
	z-index: 20000 !important;
}

.date-filter-input-group
.input-group.date input {
	font-size: 85%;
	padding: 3px;
	width: 71px;
}

.navbar li .caret {
	margin-left: -1px;
}

.navbar
.input-group.date input {
	font-size: 95%;
}
 
.input-group.date > .input-group-btn > button.dropdown-toggle {
	padding: 6px 5px;
}

#user_contacts .navbar-collapse .navbar-form {
	padding: 0 20px;
	border: 0;
}

#user_contacts .navbar-collapse .navbar-form button {
	padding: 6px 7px;
}

@media (max-width:767px) {
	#user_contacts .navbar-collapse .navbar-form button {
		padding: 6px 15px;
	}
}

@media (min-width:1100px) {
	#user_contacts .navbar-collapse .navbar-form button {
		padding: 6px 11px;
	}
}

.menu-item-loader {
	/*loader.gif*/
	/*
	height: 60px;
	margin-bottom: -25px;
    margin-top: -24px;
    margin-left: -15px;
    margin-right: -25px;
    */
    /*loader1.gif*/
    height: 25px;
    margin-bottom: -5px;
    margin-top: -7px;
    margin-left: 0;
    margin-right: -25px;
    visibility: hidden;
}

.submenu .menu-item-loader {
    height: 21px;
 
}

.menu-item-loader.active {
	visibility: visible;
}

.table.tablesorter .header {
    /* background: url('/img/icon_up_down_arrow.png') no-repeat 99% 10px, url('/img/header-bg.png') repeat-x 0; */
    background: url('/img/icon_up_down_arrow.png') no-repeat 100% 4px;
    padding: 5px;
    padding-right: 15px;
    background-opacity: 0.5;
    cursor: ns-resize;    
}

table.tablesorter .header.headerSortDown {
    /* background: url('/img/glyphicons_212_down_arrow.png') no-repeat 99% 10px, url('/img/header-bg.png') repeat-x 0; */
    background: url('/img/glyphicons_212_down_arrow.png') no-repeat 100% 4px;
}

table.tablesorter .header.headerSortUp {
    /* background: url('/img/glyphicons_213_up_arrow.png') no-repeat 99% 10px, url('/img/header-bg.png') repeat-x 0; */
    background: url('/img/glyphicons_213_up_arrow.png') no-repeat 100% 4px;
}

.table.tablesorter .header.no-sort {
	background: none;
}

.package {
	text-align: center;
	font-size: 90%
}

.package .name {
	font-weight: bold;
}

.package .price {
	font-size: 90%
}

.alert, .well {
	padding: 7px 15px 7px 15px;
}

.alert {
	margin-bottom: 30px;
	font-size: 85%;
}

.faded {
	opacity; 0.82;
}

.event-datetime {
	margin-top: -27px;
	padding-left: 15px;
	font-size: 86%;
	color: #505050;
}

#user_home .well {
//	margin-top: 27px;
	min-height: 116px;
}

.pages {
	z-index : 1;
}

.pages.btn-group {
	padding: 10px 0 30px 0;
}

.pages span.glyphicon {
	margin: 0 -2px 0 -2px
}

.pages .btn {
	padding: 5px;
	min-width: 32px;
}

.navbar-mobile {
	max-width: 215px;
    padding: 0;
    border: 0;
    margin: -7px 0px 0px -5px;
}

.navbar-mobile .input-group-btn .btn,
.navbar-toggle {
	padding: 6px 9px;
}

.navbar-toggle {
	margin-right: 8px;
}

.navbar-collapse {
    /padding-right: 4px;
    /padding-left: 4px;
}

.navbar-collapse .navbar-nav{
	//margin: 5px 2px;
}

.label-success {
	background: rgba(135,155,15,1);
}

.recentlabel {
	margin-left: -1px;
	margin-right: -3px;
	padding: 4px 1px 5px 2px;
	display: inline-block;
}

.badge {
	padding: 3px 6px;
}

.badge-important {
	background: #c9302c;
}

table.table tr td:last-child {
	text-align: right;
}

.found-results-container { 
    border-radius: 5px;
    border: 1px solid #ccc;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    max-height: 300px;
    overflow-y: auto;
    font-size: 90%;
}
.found-results-container > table.table {
	margin: 0;
}
.found-results-container > table.table tr:first-child td {
	border-top: 0;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #000;
}

@media (min-width:768px) {
	.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    	background-color: rgb(200,200,200);
	}
}

.navbar-default {
    background-color: #f8f8f8;
    border-color: #748511;
}

.navbar-default .navbar-brand {
    //color: #000;
    padding-bottom: 0;
}

.form-group.has-error .input-group > .input-group-btn > .btn {
	border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}


.navbar .navbar-nav > li {
    border-left: 1px solid rgb(200,200,200);
}
.navbar .navbar-nav > li:first-child {
    border-left: 0;
}

.navbar .navbar-nav .dropdown .dropdown-menu {
    background: #F5F5F5;
    /*border-top: 0;*/
    z-index: 1;
    margin-top: 0px;
    margin-left: -1px;
    border-color: #E5E5E5;
}

.navbar-brand {
    padding: 15px;
    height: 40px;
}

@media (max-width: 767px) {
	.navbar-brand {
    	padding: 13px;
    	padding-right: 5px;
    	max-width: 86%;
    	
	}	
	.navbar-brand > span.label {
    	font-size: 9.5px;
    	padding: 3px 5px;
    	margin-right: 2px;
	}	
	
}

.navbar-header {
	height: 43px;
}

.navbar-header button.navbar-toggle {
	padding: 4px 10px 2px 10px;
    margin: 5px 5px 1px 1px;
    font-size: 135%;
}

@media (min-width: 768px) {
	.navbar-form {
		padding-right: 3px;
	}
	.navbar .nav.navbar-nav {
		margin-left: -12px;
	}
}

.navbar-form {
	padding-left:0;
}

.records-summary {
	background: #e7e7e7;
	padding: 5px;
	margin-top: 45px;	
	border-top: 1px solid #333;
	font-size: 95%;
	z-index: 2;
}
.records-summary table {
	width: 100%;
	font-size: 88%;
	line-height: 125%;
	margin-left: -1px;
}

.records-summary table th {
	text-align: center;
	color: #777;
	font-size: 75%;
}

.records-summary table td {
	text-align: center;
	border: 1px solid #d5d5d5;
	padding: 1px;
	font-weight: bold;
}

.records-summary .row > div:first-child {
	padding-top: 17px;
    font-size: 88%;
    color: #333;
}

.records-summary table .label {
	display: block;
	color: #777;
}

.records-summary table .currency {
	font-size: 70%;
	color: #444;
	padding-left: 5px;
    margin-right: -2px;
}

.records-summary table .value {
	display: inline-block; 
	min-width: 89px;
	text-align: right;
}
.records-summary table .value:only-of-type {
	min-width: 85px;
	text-align: center;
}

@media (min-width: 992px) {

	.records-summary {
		position: fixed;
		bottom: 0;
		left: 0;
	    width: 100%;
	    padding-left: 281px;
		padding-right: 32px;
		background: rgba(226, 226, 226, 0.96);
		box-shadow: 0 0 10px 7px #d4d4d4;
	}
	
	#content {
		padding-bottom: 45px;
	}

}


@media (max-height: 375px) {

	.records-summary {
		display:none!important;
	}

}

.summarytypes {
	width: 5%;
	float:left;
	padding-top: 19px;
	font-size: 84%;
}
.summarytables {
	width: 95%;
	float:right;
}

@media (max-width: 1199px) {
	.summarytypes {
		width: 6%;
	}
	.summarytables {
		width: 94%;
	}
}

@media (max-width: 991px) {
	.summarytypes {
		width: 7%;
	}
	.summarytables {
		width: 93%;
	}
}

@media (max-width: 767px) {
	.summarytypes {
		width: 9%;
	}
	.summarytables {
		width: 90%;
	}
}

/*table.records tr.selected:before {
	content: ' ';
	display: block;
    width: 15px;
    height: 15px;
    background: red;
    left: 255px;
    position: absolute;
}*/

.selected-icon {
	
}
.selected-icon > span {
	margin-left: -20px;
	padding-top: 8px;
	font-size: 85%;
	display: none;
}

tr.selected td.selected-icon > span {
	display: block;
}

table>tbody>tr.selected>td,
table>tbody>tr.selected:hover>td,
.table>tbody>tr.selected>td,
.table>tbody>tr.selected:hover>td {
	background-color: rgba(241, 239, 84, 0.5) /*rgba(255, 253, 85, 0.65)*/;
}

@media (min-width:1499px) {
	.col-xlg-9 {
		width: 75%;
		float: left;
	}
	.col-xlg-3 {
		width: 25%;
		float: left;
	}
}

.openDetail {
	cursor:pointer;
}

#record-detail .well {
	margin-top: 2px;
	margin-bottom: 20px;
	text-align: center;
	min-height: 71px;
	transition: 0.3s all;
}

#record-detail .well > span {
	color: #999;
}

.well {
	font-size: 90%;
}

@media (min-width:1299px) {
	.well {
		margin-top: 20px;
		margin-bottom: 28px;
		padding: 19px 15px;
		font-size: 111%;
		transition: 0.3s all;
	}
}

table.records tr > th:first-child,
table.records tr > td:first-child {
	padding: 0;
	width:0;
}

.date-filter-input-group
.input-group.date .input-group-addon:not(last-child) {
	width: 8px;
	padding: 0;
	padding-left: 1px;
	background: #F8F8F8;
	border-left: 0;
	border-right: 0;
	color: grey;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    
}

.date-filter-input-group
.input-group.date input[name="from"] {
	border-left: 0; 
	width: 77px;
}

.date-filter-input-group
.input-group.date input[name="to"] {
	border-right: 0; 
	width: 77px;
}

.input-group input[type="text"][name="street"] + .input-group-addon,
.input-group input[type="text"][name="city"] + .input-group-addon {
	//width: 5px;
	padding: 0;
	padding-left: 1px;
	background: #F8F8F8;
	border-left: 0;
	border-right: 0;
	color: grey;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.date-filter-input-group
.input-group.date .input-group-btn > .btn {
	padding: 7px 4px 5px 4px;
	
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.date-filter-input-group
.input-group.date .input-group-btn:not(:last-child):not(:first-child) > .btn {
	border-radius: 0;
}

.date-filter-input-group
.input-group.date .input-group-btn + .input-group-btn > .btn {
	border-left: 0;
}

.input-group-addon,
.input-group-btn > .btn {
    padding: 6px 10px;   
}

#Search {
	width: 150px;
	max-width: 150px;
	padding: 6px 9px;
}

.records-status-filter {
	margin: 10px;
}

.records-status-filter > a.btn {
	padding: 5px 7px
}

@media (min-width:768px) {
	.dropdownUserMenu {
		color: #444;
		border: 0;
    	background: transparent;
	}
	#header {
    	margin-bottom: 18px;	
	}
}

.topstripe {
	z-index: 1047;
	position: relative;
	font-size: 135%;
	text-align: center;
}

@media (max-width: 1200px) {
	.topstripe {
		font-size: 122%;
	}
}

@media (max-width: 991px) {
	.topstripe {
		font-size: 100%;
	}
}

@media (max-width: 767px) {
	.topstripe {
		font-size: 89%;
	}
}

.dropdown .dropdown-search {
	background: #F5F5F5;
    width: 395px;	/* gets changed by js */
    height: 43px;
    padding: 4px;
    margin-left: -1px;	/* looks more aligned smh */
    position: absolute;
    display: none;
    /* same as menu under */
    z-index: 1;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.dropdown.open .dropdown-search {
	display: block;
}

.navbar .dropdown .dropdown-search input {
	width: 100%;
    margin: 0;
}

.navbar .navbar-nav .dropdown .dropdown-menu.with-search {
	margin-top: 43px;
}

.dropdown .not-found-label {
	display: none;
	color: #888;
    font-size: 12px;
    text-align: center;
    width: 100%;
}

@media (max-width: 2000px) {
	ul.dropdown-menu,
	.dropdown .dropdown-search {
		max-width: 500px;
		overflow-x: hidden;
	}
	.dropdown-menu>li>a {
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow-x: hidden;
	}
}

@media (max-width: 1500px) {
	ul.dropdown-menu,
	.dropdown .dropdown-search {
		max-width: 300px;
	}
}

@media (max-width: 1000px) {
	ul.dropdown-menu,
	.dropdown .dropdown-search {
		max-width: 250px;
	}
}

@media (max-width: 767px) {
	ul.dropdown-menu,
	.dropdown .dropdown-search {
		max-width: 100%;
		width: 100%!important;
	}
	.dropdown .dropdown-search {
    	box-shadow: none;
    	margin-left: 0;
	}
}

.top-pages .pages {
	padding-bottom: 0;
}