.navbar-default > .container {
    width: 80%;
}
.navbar-default > .container > .navbar-header {
    width: 300px;
}
.navbar-default .navbar-nav > li > ul.second-level-ul {
   color: red;
	display: none;
}
.navbar-default .navbar-nav > li:hover >ul{
    
    color: red;
    display: block;
	cursor: pointer;
}

#loading_row, .loading_row  {
	margin-top: 200px;
	width: 100%;
	text-align:center;
	color:red;
}
.form-group {
    width: 40%;
    float: left;
}

/* Table */
table thead {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	background-color: #FFF;
}

table thead tr th {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	background-color: #FFF;
	padding-bottom: 15px;
}

table tr,th td  {
    border-bottom: 1px solid black;
    cursor: pointer;
}

table td {
    padding: 5px 0;
}

table td.cell-red  {
    color: red;
}

table tr.odd  {
    background-color: #E9F7EF;
}

table tr:hover  {
    background-color: yellow;
}

td.center {
    padding-left: 20px;
}

.modal-body li {
    display: flex;
    align-items: center;
    list-style-type: none;
}
.modal-body li>input {
    margin: 0 20px 0 0;
}
.modal-body li>span {
    margin-bottom: 0;
}

.ranges {
	float: right;
	padding-left: 30px;
}

.years-months {
/*  	width: 800px; */
	float: left;
}

#from_date_display, #to_date_display {
 	margin: 8px;
}

#clear_range {
	display: none;
    float: left;
	margin: 8px 20px;
}

#dates_range {
    float: right;
	margin: 8px 20px;
}

.sortorder:after {
    content: '\25b2';
}
.sortorder.reverse:after {
    content: '\25bc';
}

.filters label,
.filters select {
    float: left;
    margin: 24px 0 0 18px;
}
.filters a {
    margin-top: 24px;
}
.filters md-switch {
    margin: 0;
}
.panel-default > label {
    margin: 0 200px;
}
.suggest {
    position: absolute;
    width: 30%;
    max-height: 200px;
    /*overflow-y: scroll;*/
    margin-left: 30%;
}

span .read-only {
	float: left;
    margin-left: 20px;
	width: 100%;
}

.read-only-block {
	float: left;
	width: 19%;
}

.controls-right {
	float: right;
	margin-left: 30px;
	font-size: 1.2em;
}

.not-unique {
	float: right;
	margin-right: 10px;
	color: red;
}

body.modal-open {
    overflow: auto!important;
    padding: 0px!important;
}
#error-modal .modal-dialog {
    width: 400px;
    margin-top: 200px;
}
#error-modal-body {
	text-align: center;
	font-size: 1.5em;
	color: red;
}
.modal-dialog.token {
	width: 600px;
	margin-top: 100px;
}
.modal-content.token {
	width: 600px;
}
/*
.modal-body span {
    width: 60% !important;
    line-height: 35px;
    display: inline-block;
}
*/
.records-found {
    max-height: 800px;
    overflow-y: scroll;
}
.modal-dialog table {
    width: 100%;
}
.modal-dialog .records-found {
    padding: 20px;
}
.modal-dialog table a  {
    float: right;
    margin-right: 20px;
}
#edit_year {
    width: 100px;
}

#api_token {
	float: right;
	margin: 10px 50px 0 0;
}

input,select {
	height: 32px;
}

input,select,textarea{
	border: 1px solid rgb(99, 99, 99);
	background-color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
	font-family: "Arial";
	color: rgb(0, 0, 0);
	font-style: italic;		
	&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
		color: rgb(0, 0, 0);
	}
	&::-moz-placeholder { /* Firefox 19+ */
		color: rgb(0, 0, 0);
	}
	&:-ms-input-placeholder { /* IE 10+ */
		color: rgb(0, 0, 0);
	}
	&:-moz-placeholder { /* Firefox 18- */
		color: rgb(0, 0, 0);
	}
}
.filters button{
    float: left;
    margin: 18px 8px;
}

/* ng classes colors */
input.ng-valid-required, md-select.ng-valid-required, textarea.ng-valid-required { 
    border-bottom: 2px green solid;
}
input.ng-pristine, md-select.ng-pristine, textarea.ng-pristine { 
    border-bottom: 1px blue solid;
}
input.ng-invalid, md-select.ng-invalid, textarea.ng-invalid { 
    border-bottom: 2px red solid;
}
.form-text-container {
    width: 45%;
    float: left;
    margin: 0 0 20px 20px;
}
.modal md-input-container {
    width: 45%;
    min-height: 36px;
    float: left;
    margin-left: 20px;
}
.modal md-input-container.textarea-wide {
    width: 90%;
}
.modal md-input-container.empty-cell {
    height: 40px;
}
.modal md-input-container > label{
    margin-left: 5px;
}
md-input-container:not(.md-input-invalid) .md-errors-spacer {
    display: none;
}

.md-select-menu-container,
.md-datepicker-calendar-pane{
    z-index: 9999;
}

.filters md-input-container {
    width: 20%;
    float: left;
    margin-right: 20px;
}
