.submit-loader {
  padding-left: 5px;
  height: 20px;
  width: 20px;
}

td.numeric {
	text-align: right;
}
th.numeric {
	text-align: right;
}

td.highlight {
	background: #FFF59D;
}

.loading {
    transition: opacity 0.1s ease-out;
    opacity: 0; 
    overflow: hidden;
}

.loaded {
    opacity: 1;
}


.navbar-inverse {
	background-color: #23272d;
	border-color: #23272d;
}

#page-wrapper {
	background-color: #e6e4e4;
}

.side-nav {
	background-color: #23272d;
}

.breadcrumb {
	background-color: #f6f6f6;
}

.h1, h1 {
	font-size: 26px;
}

.buy-icon {
	color: #169F85!important;
}

.sell-icon {
	color: #f44336!important;
}

.panel-primary>.panel-heading {
	background-color: #140036;
	border-color: #140036;
}

.panel-primary {
	border-color: #140036;
}

.grayed-text {
	color: #989898;
}

.huge {
	font-size: 25px;
}

.agro-jumbotron {
	color: #FFFFFF;
	background-size: cover;
}

/* 
All this part from bellow is for the About page (also used as Landing page for unauthenticated users)
								vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
*/
.agro-jumbotron1 {
	min-height: 300px;
}

@media ( min-width :1000px) {
	.agro-jumbotron1 {
		background-image: url("/static/images/introwide.png");
	}
}

@media ( max-width :999px) {
	.agro-jumbotron1 {
		background-image: url("/static/images/introsmall.png");
	}
}

.agro-jumbotron2 {
	background-image: url("/static/images/barley_t.jpg");
}

.agro-jumbotron3 {
	background-image: url("/static/images/trading.png");
}

.agro-jumbotron4 {
	background-image: url("/static/images/two.png");
}

.agro-jumbotron5 {
	background-image: url("/static/images/four.png");
}

.agro-jumbotron h1, .agro-jumbotron h2 {
	font-family: 'Lato', sans-serif;
	font-style: normal;
	font-weight: 900;
	src: local('Lato'), local('Lato'), url(static/asset/font/Lato.ttf)
		format('truetype');
}

.agro-jumbotron p {
	font-size: 14px;
	font-weight: 200;
}

.agro-jumbotron4 a, .agro-jumbotron5 a {
	color: #F9F28D;
}
/* 
				^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
All this part was for the About page (also used as Landing page for unauthenticated users)
*/
.agro-strident a {
	font-weight: 900;
	color: #AB0F03;
}

.panel-footer {
	background-color: #ffffff;
}


.truncate {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.twolines {
	font-size: 2em;
	line-height: 1em;
	height: 2em;
	overflow: hidden;
	text-overflow: ellipsis;
}

.emptyRow {
	height: 19px !important; /* Overwrite any previous rules */
}

.table-borderless tbody tr td, .table-borderless tbody tr th,
	.table-borderless thead tr th {
	border: none;
}

td span {
	line-height: inherit !important;
}

.center-cropped {
  width: 100%;
  object-fit: cover;
  height: 150px;
  background-position: center center;
  background-repeat: no-repeat;
}

.tile {
	background: #2a3f54;
	color: #FFFFFF;
}

.tile a {
	color: rgba(255,255,255,0.75);
}

.tile a:hover { 
	color: rgba(255,255,255,0.55);
}
.tile h3{
	color: #FFFFFF;
}

.body {
	color: #38434f;
}

.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th,
.table-borderless thead tr td,
.table-borderless tfoot tr th,
.table-borderless tfoot tr td {
    border: none;
}

.mail_list h2 {
	font-weight:normal;
	font-size: 12px;
}

.alert-error .alert-link {
	color: yellow;
}

.blogpost img {
	max-width:100%; display:block; margin:auto;
}


/********************/
/* Quotes Monitor   */
/********************/

.qm_title {
    border-bottom: 2px solid #E6E9ED;
    padding: 1px 5px 6px;
    margin-bottom: 0px;
}

.qm_title span{
	color: #2A3F54;
}


.qm_title span:hover{
	color: #8F99A4;
}

.quotes-monitor-table {
    background: white;
}

.quotes-monitor-table>tbody>tr>td, 
.quotes-monitor-table>tbody>tr>th, 
.quotes-monitor-table>tfoot>tr>td, 
.quotes-monitor-table>tfoot>tr>th,
.quotes-monitor-table>thead>tr>td, 
.quotes-monitor-table>thead>tr>th {
    border: 0px;
}

/*************************/
/*     Agrogo Tables     */
/*************************/

.agrogo-table>tbody>tr>td, 
.agrogo-table>tbody>tr>th, 
.agrogo-table>tfoot>tr>td, 
.agrogo-table>thead>tr>td, 
.agrogo-table>thead>tr>th,
.agrogo-table>tfoot>tr>th {
    border: 0px;
}

.only_for_apps {
	display: none;
}

/*****************/
/* Logouri presa */
/*****************/
.press-logo {
	height: 30px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
}

/*************************/
/*     Agrogo Panels     */
/*************************/
.ag_x_panel_highlight {
	border: 2px solid #1ABB9C !important;
}

*, *:before, *:after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}


/****  TreeMap *****/

.feature {
  position: relative;
  width: calc(100% - 25 * 2 * 1px);
  height: calc(100% - 25 * 2 * 1px);
}

.node {
  position: absolute;
  background: transparent url("") no-repeat 50%/cover;
  overflow: hidden;
  opacity: 1;
  -webkit-transition: opacity .8s;
  transition: opacity .8s;
}

.node-corn {
  background: #009688;
}

.node-wheat {
    background: #3F51B5;
}

.node-sunflower {
    background: #607D8B;
}

.node-soybean {
    background: #FF5722;
}

.node-barley_feed {
    background: #FF9800;
}

.node-rapeseed {
    background: #4CAF50;
}
.node .label {
  display: inline;
  font-family: sans-serif;
  font-size:12px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  position: absolute;
  padding: 0;
  margin: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  -webkit-transition: -webkit-filter .8s;
  transition: -webkit-filter .8s;
  transition: filter .8s;
  transition: filter .8s, -webkit-filter .8s;
}

.clicked {
  background-color: red;
}

.articles {
    font-size: 120%;
}

.articles h1 {
    font-size: 200%;
}


.readMoreButton {
    font-size: 130%;
    color: #02a87c;
    background-image: none;
    background-color: transparent;
    border-color: #02a87c;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid #02a87c;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    transition: all 0.2s ease-in-out;
}

.ag-help-show {
    padding-bottom: 5px;
    font-size: 120%;
}

.ag-stat-title {
	font-size: 20px!important;
}

.ag-stat-sparkline {
	display: inline-block;
	width: 200px;
	height: 50px;
	vertical-align: top;
	margin: 10px 10px 10px 10px;
}

.default-page-header {
	margin-top: 16px!important;
}

.input-highlight {
	 background-color : #FFF176!important;
}

.section-title {
	border-bottom: 5px solid #1ABB9C !important;
}

.color-block-1 {
	background-color : #BEB9B5!important;	
}

.color-block-2 {
	background-color : #C25B56!important;	
}

.color-block-3 {
	background-color : #96C0CE!important;	
}

.color-block-4 {
	background-color : #74828F!important;	
}

.color-block-5 {
	background-color : #525564!important;	
}

.color-block-6 {
	background-color : #FEF6EB!important;	
}

.color-block-7 {
	background-color : #CDBB79!important;	
}

.colaborator-page-header {
	font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding-bottom: 10px;
	text-align: left;
		color: #f8f8f8;
	background-color: #2A3F54;
	background-size: cover;
}

.colaborator-page-header > h1 {
	font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
	padding-left: 30px;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
	font-size: 4em;
}

.product-header {
	font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding-bottom: 10px;
	text-align: left;
		color: #f8f8f8;
	background: url(/static/images/field-min.png) no-repeat center center;
	background-size: cover;
}

.product-header-message {
	position: relative;
	padding-top: 5%;
	padding-bottom: 5%;
}

.product-header > h1 {
	font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
	padding-left: 30px;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
	font-size: 4em;
}

.agro-page-header{
	padding-bottom: 5px;
    margin: 40px 0 10px;
    border-bottom: 2px solid #169F85;
}


.agro-page-header-alt{
	padding-bottom: 6px;
    margin: 16px 0 8px;
    border-bottom: 2px solid #169F85;
}

.tile-stats .count {
	font-size: 24px;
}

/********************/
/* RSS READER       */ 
/********************/

.rss {
    font-size: 120%;
}

.rss h1 {
    font-size: 150%;
}

.rss .item {
	border-bottom: solid 1px #1B334B; 
	padding-bottom: 20px;
	padding-top: 30px;
}

.rss img {
	display: block;
	padding: 4px;
    margin: 0 auto;
}

.rss .readMore {
	padding-top: 12px;
	text-align: center;	
}

.rss .readMoreButton {
    font-size: 120%;
    color: #02a87c;
    background-image: none;
    background-color: transparent;
    border-color: #02a87c;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid #02a87c;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    transition: all 0.2s ease-in-out;
}

.no-shadows {
	box-shadow: rgba(100, 100, 111, 0) 0px 0px 0px 0px!important;
}

.tile-stats {
	border-radius: 6px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.x_panel{
	border-radius: 6px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

table.dataTable thead .srv.sorting_asc:after{
	content: "\e253"!important;
	color: #515356;
	opacity: 1;
}

table.dataTable thead .srv.sorting_desc:after{
	content: "\e252"!important;
	color: #515356;
	opacity: 1;
}

/*
COLORS

GREEN POSITIVE
	color: #169F85;
ON GREEN POSITIVE
	color: white;

RED NEGATIVE
	color: #f44336!important;
ON RED NEGATIVE
	color: white;
*/

/*
Quotes and prices
*/

.change-cell {
	float: right;
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.change-cell.negative{
	color: #f44336;
}
.change-cell.positive{
	color: #169F85;;
}
.change-cell small {
	font-size: 13px;
	float: right;
	text-align: right;
}
.change-cell i {
	font-size: 10px;
	margin-top: 4px;
}
.change-cell .accent{
	display: inline-flex;
	float: right;
	text-align: right;
	padding-right: 2px;
	padding-left: 2px;
	border-radius: 3px;
	color: white;
}
.change-cell.negative .accent{
	background-color: #f44336;
}
.change-cell.positive .accent{
	background-color: #169F85;;
}
