/*
* Colores
* Azul: #06d6a0;
*/
@font-face {
  font-family: OpenSansSemiBold;
  src: url('../fonts/Open_Sans/OpenSans-SemiBold.ttf');
}

@font-face {
  font-family: OpenSansBold;
  src: url('../fonts/Open_Sans/OpenSans-Bold.ttf');
}

@font-face {
  font-family: OpenSansExtraBold;
  src: url('../fonts/Open_Sans/OpenSans-ExtraBold.ttf');
}

@font-face {
  font-family: OpenSansRegular;
  src: url('../fonts/Open_Sans/OpenSans-Regular.ttf');
}

@font-face {
  font-family: OpenSansLight;
  src: url('../fonts/Open_Sans/OpenSans-Light.ttf');
}

/* ----------------- */

html {
	width: 480px;
	height: 35rem;
	margin: 0px;
}

body {
	font-family: 'OpenSansRegular', sans-serif;

}
.app-container {
	position: relative;
	height: 35rem;
	padding: 0;
	background-color: #333;
	overflow: scroll;
	color: #fbfbfb;
}

/*
	Cabecera
*/
.navbar {
	border-bottom: 1px solid #999;
}

.navbar.disabled::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: #333333;
    opacity: 0.55;
}

.navbar-toggler,
.navbar-toggler:focus {
	border: none;
	box-shadow: none;
}

.navbar-dark .navbar-toggler {
	padding-bottom: 0;
}

.navbar-dark .navbar-toggler-icon {
	color: #fbfbfb;
	background-image: none;
}

.navbar-dark .navbar-toggler-icon .fas {
	vertical-align: sub;
}

.navbar-collapse {
	position: fixed;
	top: 60px;
	width: 480px;
	height: calc(50rem - 60px);
	display: block;
	visibility: hidden;
	opacity: 0;
	z-index: -1;
	background: #222;	
	transition: all 0.25s ease-in-out;
}

 .navbar-collapse.show {
    visibility: visible;
    opacity: 1;
    z-index: 9;
}

.navbar-nav {
	padding: 1rem;
}

.navbar-nav .nav-link {
	padding-left: 1rem;
}

.nav-item {
	font-size: 1.25rem;
}

.nav-item:hover {
    background: #888;
}

.exit-item a {
	background-color: rgba(255, 0, 0, 0.35);
}

.nav-item .fas {
	margin-right: 0.3rem;
}

.navbar-brand {
	margin-right: 0;
}

.user-menu {
	display: inline-block;
	padding: 0.3rem 0.9rem 0.3rem 0;
	font-size: 1.2rem;
	color: #fbfbfb;
	text-transform: uppercase;
	font-family: 'OpenSansBold', sans-serif;
}

.user-menu .notifications {
	margin-right: 10px;
	color: orange;
}

/* Contenido */
.main {
	position: relative;
	padding: 2rem 0.9rem;
}

.screen-title {
	font-family: 'OpenSansExtraBold', sans-serif;
	font-size: 1.8rem;
	color: #fbfbfb;
	text-align: center;
}

/* Claims */
.claims-list {
	margin-top: 1.2rem;
	list-style: none;
	padding-left: 0;
}

.claims-list li {
	margin-bottom: 1rem;
	padding: 0.9rem 0.6rem;
	background-color: #444;
    border-bottom: 1px solid #444;
    transition: all 0.2s ease-in-out;
}

.claims-list li:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.claims-list li a {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: flex-end;
	color: #fbfbfb;
	text-decoration: none;
}

.claims-list li:hover {
	background-color: #666;
}

.claim-label {
	font-family: 'OpenSansLight', sans-serif;
	text-transform: uppercase;
	color: #999;
}

.claim-cert {
	grid-row: 1 / 3;
    grid-column: 2 / 3;
	justify-self: end;
    font-size: 0.8rem;
   	color: #d9d9d9;
	
}

.claim-value {
	grid-column: 1 / 2;
    grid-row: 2/ 3;
	font-family: 'OpenSansSemiBold', sans-serif;
}

.float-btn {
	position: fixed;
	bottom: calc(100% - 53rem);
    right: calc(50vw - 220px);
    padding: 10px 17px;
    font-size: 1.5rem;
    color: #fbfbfb;
	background: #06d6a0;
    border-radius: 50%;
    box-shadow: 4px 4px 24px rgba(0,0,0,0.3);
    transition: all 0.2s ease-in-out;
}

.float-btn:hover {
	color: #fbfbfb;
	transform: scale(1.2);
}

/* Claim info */
.back-link {
	text-decoration: none;
    color: #ddd;
    transition: all 0.2s ease-in-out;
}

.back-link i {
	margin-right: 5px;
    transition: all 0.2s ease-in-out;
}


.back-link:hover {
	color: #ddd;
	opacity: 0.8;
}

.back-link:hover i {
	transform: translateX(-2px);
}

.claim-info {
	/*margin-top: 1.2rem;*/
}

.claim-title {
	margin-bottom: 1.2rem;
}

.claim-title .label {
	display: block;
	margin-bottom: 10px;
	font-family: 'OpenSansLight', sans-serif;
}

.claim-info .claim-title {
	margin-bottom: 1.2rem;
	text-align: left;
	display: grid;
    grid-template-columns: 70% 30%;
	font-family: 'OpenSansLight', sans-serif;
}

.claim-title__value {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
	font-family: 'OpenSansExtraBold', sans-serif;

}

.claim-title__cert {
	grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: end;
    font-size: 1rem;
    font-size: 1rem;
    color: #fbfbfb;
}

.claim-info-group {
	margin-bottom: 0.9rem;
    background: #444;
    padding: 20px 10px;
}

.claim-info-group h2 {
	padding-bottom: 0.5rem;
    font-family: 'OpenSansExtraBold';
    font-size: 1.2rem;
	color: #888;
    text-transform: uppercase;
    border-bottom: 1px solid #666;
}

.claim-info-pair {
	padding: 0.6rem 0;
	color: #fbfbfb;
}

.claim-info--label {
	font-family: 'OpenSansLight', sans-serif;
	color: #999;
	text-transform: uppercase;
}

.claim-info--value {
	font-family: 'OpenSansSemiBold', sans-serif;
}

/* New Claim */
.add-claim-form , .create-wallet-form , .unlock-form {
	position: relative;
	padding: 1.6rem 1rem;
	color: #fbfbfb;
	background-color: #444;
}

.form-group-grid {
	display: grid;
    grid-template-columns: 1fr 1rem;
    grid-column-gap: 5px;
}

.form-group {
	margin-bottom: 1rem;
}

.form-group-grid label {
	grid-row: 1 / 2;
}

.form-group-grid label + * {
	grid-row: 2 / 3;
}

.form-group-grid .edit-field {
	grid-row: 2 / 3;

	padding: 0;
	color: #06d6a0;
	border: none;
	background-color: transparent;
}

.form-group-grid .edit-field:hover {
	cursor: pointer;
}

.form-group-grid .edit-field.remove-field {
	color: #fc7049
}

.form-group-grid .edit-field i {
	height: 100%;
}

.form-group-grid .validation-error {
	grid-row: 3 / 4;

	margin: 0;
    padding-top: 5px;
	color: #fd6f4d;
    font-size: 0.8rem;
}

/* Elementos formulario */
.form-label {
	font-family: 'OpenSansLight', sans-serif;
	text-transform: uppercase;
	color: #999;
}

.form-group input, 
.form-group textarea {
	padding: 5px;
	font-size: 0.8rem;
	border: none;
}

textarea {
	display: block;
	width: 100%;
}

select.form-control {
	font-size: 0.9rem;
	border: none;
	border-radius: 0
}

.form-check-label {
	font-size: 0.9rem;
	color: #fbfbfb;
	vertical-align: top;
}

.primary-btn {
	margin-top: 1.5rem;
	padding: 10px 17px;
    font-family: 'OpenSansSemiBold', sans-serif;
    color: #fbfbfb;
    text-transform: uppercase;
	background: #06d6a0;
	border: none;
	text-decoration: none;

	transition: all 0.2s ease-in-out;
}

.primary-btn:hover {
	color: #fbfbfb;
	background-color: #04a479;
}

.cancel-btn {
	color: #06d6a0;
	background-color: transparent;
}

.delete-btn {
	color: #fbfbfb;
	background-color: #fd6f4d;
}

.delete-btn:hover {
	background-color: #c8593f;
}

.cancel-btn:hover {
	color: #04a479;
	background-color: transparent;
}

/* Capa para el listado de valores */
.modal-window {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	min-height: 15rem;
	width: 100%;
	padding: 1rem;
	background: #222;
}

.modal-window .close-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	color: #666;
}

.modal-content {
	display: flex;
	flex-direction: column;
	margin-top: 1rem;
	padding: 1rem;
	background-color: transparent;
	border: none;
}

.modal-content p {
	font-family: 'OpenSansLight';
    color: #999;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.select-btn {
    display: inline-block;
	margin-top: 1rem;
}


/* Alerta */
.notification {
    margin: 5rem 1rem;
    padding: 1.5rem 1rem;
    background: #222;
    box-shadow: 4px 4px 24px rgba(0,0,0,0.2);
}

.notification-title {
	font-family: 'OpenSansBold', sans-serif;
	font-size: 1.5rem;
}

.buttons-wrapper {
	display: flex;
	justify-content: center;
}
