/**
 * OUTDOORTRIP.COM admin custom styles
 */
.mt-1 {
	margin-top: 1em;
}
.mt-5 {
	margin-top: 5em;
}
.mb-1 {
	margin-bottom: 1em;
}
.mb-3 {
	margin-bottom: 3em;
}
.mb-5 {
	margin-bottom: 5em;
}
.logged-drop {
	position: relative;
	padding-left: 50px !important;
}
.logged-drop > img {
	position: absolute;
	top: 5px;
	height: 40px;
	left: 10px;
}

.flash-messages .alert:first-child {
	margin-top: 1em !important;
}

.modal-title {
	float: left;
}

.panel-footer [type="file"] {
	display: inline-block;
}
.img-list-item {
	border: 1px solid #ddd;
	border-radius: 5px;
}
.img-list-item a {
	position: relative;
	margin: 5px auto;
	display: block;
	text-align: center;
}

.img-list-item h3 {
	font-size: 16px;
}
.img-list-item small {
	display: block;
}
.img-list-item .btn {
	display: inline-block;
}

/* labels */

.label-2x {
	font-size: 14px;
}
.inline-label {
	display: flex;
	flex-direction: row;
}
.inline-label input, .inline-label span {
	flex: 1;
}
.inline-label span {
	margin: 7px 5px 0 4px;
}
.inline-label ul {
	flex: 0;
	position: absolute;
	bottom: -20px;
}
.inactive-btn {
	cursor: default !important;
}

.input-group {
	display: flex;
	flex-direction: row;
}
.input-group .form-control {
	flex: 1;
}
.input-group .form-control.w25 {
	max-width: 25%;
}
.input-group .form-control.w10 {
	max-width: 10%;
}
.input-group .form-control.w50 {
	max-width: 50%;
}
.input-group .parsley-errors-list.filled {
	flex: 0;
	position: absolute;
	top: 37px;
	right: 0;
}

fieldset legend {
	font-size: 18px;
	padding-top: .5em;
}
.lang-tag {
	position: relative;
}
.lang-tag img {
	position: absolute;
	top: 9px;
	left: -16px;
}
.relative-flags .lang-tag img {
	position: relative;
	top: 0;
	left: 0;
}
.chosen-container {
	width: 100% !important;
}

/** datagrid customization */
#grid-table .fa-sort,
#grid-table .fa-sort-asc,
#grid-table .fa-sort-desc {
	margin-left: .4em;
}
#grid-table [data-dg-type="filters-row"] th {
	padding: 2px;
}
#grid-table [data-dg-col="actions"] .btn {
	margin-right: 2px;
}

/**
 Map picker
 */
#create-point-map,
#edit-point-map,
#view-points-map {
	width: 100%;
	height: 400px;
	max-height: 80vh;
}

tr.highlight td,
tr.highlight th {
	background: #97d1a1;
}
/** breadcrumbs */
.breadcrumb {
	margin-top: .5em;
}

h1 .dropdown {
	display: inline;
}

/**
 Icons
 */
a span.glyphicon-info-sign {
	font-size:18px;
}

#grid-table tbody td:last-child {
	white-space: nowrap;
}

.text-secondary {
	color: #dedede;
}
.text-disabled {
	color: #aaa;
}
.text-warning {
	color: #d39e00;
}
.div-inline{
	display:inline-block;
}

@media screen and (max-width: 700px) {
	.nav.navbar-top-links.navbar-right {
		text-align: right;
		height: 30px;
	}
	.logged-drop img {
		display: none;
	}
	.navbar-top-links li a {
		padding: 0;
		min-height: 25px;
	}
	.logged-drop {
		padding-left: 1em !important;
	}
	.navbar-header a img {
		top: 15px;
		position: relative;
		left: 20px;
	}
}

.grid-profile-photo {
	max-width: 35px;
}

#side-menu li > strong {
    display: block;
    padding: .4em 1.2em;
}

.lang-input {
    position: relative;
}
.lang-input .flag {
    position: absolute;
    top: 10px;
    left: -16px;
}
/* logo - collapsed menu*/
.sidebar-toggled .sidebar-brand-icon {
    position: relative;
    left: 165px;
}

.datagrid--row-highlight {
    font-weight: bold;
}
.datagrid--row-highlight td {
    background: rgba(0,146,91, 15%);
}
.sidebar-divider {
    margin-bottom: 0 !important;
}
.sidebar-heading {
    margin-top: 1em;
}
