/** BUTTONS **/

/** BUTTON SAVE **/

.button-save {
	background-color: var(--primary);
	color: var(--white);
}

.button-save:hover {
	background-color: var(--primary-light);
}

/** BUTTON SAVE **/

/** BUTTON OPTION MODAL USER **/

.button-option-user {
	background-color: var(--primary-light);
	color: var(--white);
}

.button-option-user:hover {
	background-color: var(--primary);
}

/** BUTTON OPTION MODAL USER **/

/** BUTTON ADD NEW USER**/

#new-user,
#new-org {
	background-color: var(--primary-light);
	position: fixed;
	right: 5%;
	bottom: 10%;
}

#new-user,
#new-org:hover {
	background-color: var(--primary);
	position: fixed;
	right: 5%;
	bottom: 10%;
}

/** BUTTON ADD NEW USER**/

/** BUTTONS **/

/** CHIPS **/

#chips-container {
	display: flex;
	align-items: center;
  flex-wrap: wrap;
}

#chips-container .mdl-chip {
	background-color: #f1f2f6;
	font-weight: 500;
}

#chips-container .mdl-chip:hover {
	cursor: pointer;
	background-color: var(--primary-light);
	color: var(--white);
	font-weight: 500;
}

.mdl-chip.mr-1.active {
	background-color: var(--primary-light) !important;
	color: var(--white);
	font-weight: 500;
}

.label-container {
	width: 100%;
	border-radius: 10px;
	background-color: var(--primary-light);
	color: var(--white);
	font-weight: 600;
	padding: 10px;
}

.label-container label {
	font-size: 1rem;
}

/** CHIPS **/

/** CARD HOME **/

.card-home {
	overflow: hidden;
	border: solid 1px var(--white);
	background-color: var(--white);
	box-shadow: 0px 9px 30px -1px rgb(226, 222, 222);
	border-radius: 20px;
	cursor: pointer;
	text-align: center;
}

.card-home > h4 {
	font-size: 1.2rem;
	font-weight: bold;
	margin: 40px auto 20px auto;
}

.card-home img {
	width: 60px;
	margin: 0px auto;
}

.card-home > p {
	font-size: 1rem;
	text-align: start;
	max-width: 70%;
	margin: 20px auto 30px auto;
	color: var(--black);
	text-align: center;
}

/** CARD HOME **/

/** DIALOGS **/

/** GENERAL **/

.mdl-dialog {
	padding: 40px 40px;
	border-radius: 20px;
}

/** GENERAL **/

/** SIZES **/

.dialog-medium {
	min-width: 500px;
	min-height: 400px;
}

.dialog-small {
	width: 400px;
	min-height: 300px;
}

/** SIZES **/

/** MODAL USER **/

#modal-user .modal-user-container .text-container,
#modal-user .modal-user-container .form-container form {
	margin: 0 auto;
	width: 300px;
}

#modal-user .form-buttons-container {
	display: flex;
	flex-direction: row-reverse;
	width: 300px;
	margin-left: 50px;
}

#modal-user .form-buttons-container > a {
	margin-top: 30px;
	margin-left: 20px;
}

/** MODAL USER **/

/** MODAL ADD USER **/

#modal-add-user .modal-add-user-container .text-container,
#modal-add-user .modal-add-user-container .form-container form {
	margin: 0 auto;
	width: 340px;
}

#modal-add-user .form-buttons-container {
	display: flex;
	flex-direction: row-reverse;
	width: 300px;
	margin-left: 50px;
}

#modal-add-user .form-buttons-container > a {
	margin-top: 30px;
	margin-left: 20px;
}

.text-container,
.form-container form {
	margin: 0 auto;
	width: 340px;
}

.form-buttons-container {
	display: flex;
	flex-direction: row-reverse;
	width: 300px;
	margin-left: 50px;
}

.form-buttons-container > a {
	margin-top: 30px;
	margin-left: 20px;
}

/** MODAL ADD USER **/

/** MODAL DELETE **/

#modal-delete h4 {
	font-size: 20px;
}

#modal-delete .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#modal-delete .buttons-container > a {
	margin-top: 50px;
	margin-left: 20px;
}

#modal-delete h4 {
	font-size: 20px;
}

#background-modal-delete .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#background-modal-delete .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#background-modal-delete .buttons-container > a {
	margin-top: 50px;
	margin-left: 20px;
}

#logo-modal-delete .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#logo-modal-delete .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#logo-modal-delete .buttons-container > a {
	margin-top: 50px;
	margin-left: 20px;
}

#reset-modal .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#reset-modal .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#reset-modal .buttons-container > a {
	margin-top: 50px;
	margin-left: 20px;
}

/** MODAL DELETE **/

/** MODAL PASSWORD **/

#modal-password h4 {
	font-size: 20px;
}

#modal-password .buttons-container {
	display: flex;
	flex-direction: row-reverse;
}

#modal-password .buttons-container > a {
	margin-top: 50px;
	margin-left: 20px;
}

/** MODAL DELETE **/

/** DROPDOWN MENU **/

.mdl-menu .mdl-menu__item {
	text-transform: capitalize;
}

/** DROPDOWN MENU **/

/** TEXT FIELD FORMS FLOAT **/

.mdl-textfield--floating-label.is-focused .mdl-textfield__label {
	color: var(--primary);
}

.mdl-textfield__label:after {
	background-color: var(--primary);
	bottom: 10px;
}

.mdl-textfield--floating-label.is-dirty .mdl-textfield__label {
	color: var(--primary);
}

.mdl-dialog .save {
	background-color: var(--primary);
	color: var(--white);
}

.mdl-dialog .save:hover {
	background-color: var(--primary-light);
	color: var(--white);
}

.mdl-textfield__label__icon {
	position: absolute;
	right: 0;
	top: 20px;
}
.mdl-textfield .mdl-textfield__label__icon {
	color: var(--error);
}

/** TEXT FIELD FORMS FLOAT **/

/*  LAYERS */

.draggable-list {
	border: 1px solid #dbdbdb;
	border-radius: 15px;
	max-height: 50vh;
	overflow-x: auto;
	overflow-y: scroll;
}

.demo-card-wide.mdl-card {
	width: 90%;
}

.demo-card-wide > .mdl-card__title {
	color: #fff;
	height: 150px;
}

.demo-card-wide > .mdl-card__menu {
	color: #fff;
}

.draggable-item {
	min-height: 100px;
	max-width: 100px;
	margin: 10px;
	text-align: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	font-family: Roboto, "Helvetica Neue", sans-serif;
	display: inline-block;
	vertical-align: top;
}

.draggable-item:hover {
	color: #0b9d3c;
	cursor: grab;
}

/*  LAYERS */

/** LAYOUT CONTENT **/

.mdl-layout--fixed-drawer > .mdl-layout__content {
	margin-left: 70px;
}

@media only screen and (max-width: 1024px) {
	.mdl-layout--fixed-drawer > .mdl-layout__content {
		margin-left: 0px;
	}
}

/** LAYOUT CONTENT **/

/** HEADER - NAVBAR **/

.mdl-layout-title .obliquo-logo-img {
	height: 28px;
}

.mdl-layout__header {
	box-shadow: 0px 9px 30px -1px rgb(226, 222, 222);
}

/** NAVIGATION DRAWER **/

.mdl-layout__drawer {
	width: 70px;
}

.mdl-layout--fixed-drawer.is-upgraded:not(.is-small-screen) > .mdl-layout__header {
	margin-left: 70px;
	width: calc(100% - 70px);
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
	padding: 16px 25px;
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover {
	color: var(--primary);
}

.mdl-layout__header-row.obliquo-icon-container {
	padding: 0 10px 0 20px;
}

.mdl-layout__header .mdl-layout__drawer-button {
	color: var(--primary);
}

/** NAVIGATION DRAWER **/

/*
    snackbar
*/

#snackbar {
	left: 90% !important;
}

/** TABLES **/

#mdl-table {
	padding: 0 !important;
	margin: 0 auto;
	margin-top: 50px;
}

#mdl-table .mdl-layout__header-row {
	padding: 0;
}

.mdl-data-table {
	box-shadow: 0px 9px 30px -1px rgb(226, 222, 222);
	border: none;
	border-radius: 20px;
}

.mdl-data-table td {
	border-bottom: none;
	padding: auto 5px !important;
}

.mdl-data-table th {
	color: var(--primary);
	font-size: 15px;
	padding: 15px !important;
}

.mdl-data-table tr:hover {
	color: var(--primary);
	font-weight: 500;
	cursor: pointer;
}

.mdl-data-table td:first-of-type,
.mdl-data-table th:first-of-type {
	padding-left: 15px !important;
}

.mdl-data-table td:last-of-type,
.mdl-data-table th:last-of-type {
	padding-right: 15px !important;
}

/** RESPONSIVE TABLE MOBILE **/

.mdl-data-table .table-key {
	background: #eee;
	color: dimgrey;
	display: none;
	font-size: 10px;
	font-weight: bold;
	border-radius: 10px;
	padding: 0 10px;
	position: absolute;
	text-transform: uppercase;
	top: 10px;
	left: 0;
}

@media (max-width: 1100px) {
	#wrapper-table {
		justify-content: center;
	}
	table thead {
		display: none;
	}
	.mdl-data-table tbody tr {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		height: 215px;
		margin: 20px 0px 50px 0px;
		padding: 0 20px;
	}
	.mdl-data-table tbody tr:hover {
		background-color: var(--white);
	}
	.mdl-data-table td {
		border-bottom: 0px;
		display: flex;
		width: 50%;
	}
	.mdl-data-table td,
	.mdl-data-table .table-key,
	.mdl-data-table .table-value {
		border: 0px;
		display: block;
	}
	.mdl-data-table tbody tr:hover .table-key {
		background-color: var(--primary-light);
		color: var(--white);
	}
	.mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric {
		text-align: end;
	}
	.mdl-data-table .table-value {
		text-align: end;
		font-size: 1rem;
	}
}

@media (max-width: 400px) {
	.mdl-data-table tbody tr {
		height: 220px;
	}
	.mdl-data-table #table-value {
		margin-top: 25px;
	}
}

/** RESPONSIVE TABLE MOBILE **/

/** TABLES **/

/** PAGINATION **/

.pagination-container {
	display: flex;
	margin: 20px;
	justify-content: space-around;
	align-items: center;
}

.pagination {
	display: flex;
}

.pagination-row-container {
	display: flex;
	align-items: center;
}

.pagination-row-container > * {
	margin: 10px;
}

nav .pagination > * {
	margin: 10px;
}

nav .pagination > a {
	color: var(--black);
	cursor: pointer;
}

nav .pagination > div {
	color: var(--primary);
	font-weight: bold;
}

/** PAGINATION **/

/** SELECTOR MATERIAL **/

.wrap-selector select {
	font-family: inherit;
	background-color: transparent;
	width: 100%;
	padding: 4px 0;
	font-size: 14px;
	color: var(--black);
	border: none;
	border-bottom: 1px solid black;
}

.wrap-selector select:focus {
	outline: none;
}

.file-input {
	display: none;
}

/** SELECTOR MATERIAL **/

/*ORGANIZATION DATA*/

.organization-data-container {
	display: flex;
    justify-content: space-between;
    padding: 0 2em;
}

#epsg-lista {
  list-style: none;
  padding: 0;
  border: 1px solid #ccc;
  max-height: 100px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#epsg-lista li {
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#epsg-lista li:hover {
  background-color: #f0f0f0;
}
