/*@font-face {
	font-family: 'Material Symbols Rounded';
	font-style: normal;
	font-display: block;
	src: url('../font/MaterialSymbolsRounded.ttf');
}*/

/*.material-symbols-rounded {
	font-family: 'Material Symbols Rounded';
	font-weight: normal;
	font-style: normal;
	font-size: 1.6rem;
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	margin-right: 0.16em;
	font-variation-settings:
	'FILL' 0,
	'wght' 400,
	'GRAD' 0,
	'opsz' 48;
}*/

.material-symbols-rounded {
	font-size: 1.6rem;
	margin-right: 0.16em;
}

.signup-page,
.login-page {
	background: #83cff088
}

.list-element {
	display: flex;
	margin: 1rem 0 0 0;
}

.card-controls {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.card-controls .control {
	margin: 0.4em 0.8em;
	width: fit-content;
	border-radius: 2em;
	padding: 0.25em;
	transition: 0.4s;
}

.card-controls .material-symbols-rounded {
	opacity: 0.6;
}

.card-controls .material-symbols-rounded:hover {
	opacity: 1;
}

.card-controls .control:hover {
	cursor: pointer;
}

.card-controls .edit-control {
	background: #00000020;
}

.card-controls .edit-control:hover {
	background: #00000040;
}

.card-controls .delete-control {
	background: #ff000035;
}

.card-controls .delete-control:hover {
	background: #ff000070;
}

.signup-page .form-wrapper,
.login-page .form-wrapper,
.card {
	background: white;
	width: 24em;
	max-width: 470px;
	margin: 5em auto 3em;
	box-shadow: 0 0 5px rgba(65, 67, 144, 0.15);
	border-radius: 1em;
	padding: 1em;
}

.card {
	margin: 0 auto 0;;
	display: flex;
    align-items: center;
	padding: 0;
}

@media(max-width:600px) {
	.signup-page .form-wrapper,
	.login-page .form-wrapper,
	.card {
		width: 100%;
		margin: 15px auto;
		padding: 30px
	}
}

.card .infos {
	margin-right: auto;
	padding: 1em 0 1em 1em;
	width: 100%;
}

.card .view-more{
	align-self: stretch;
	padding: 1em 1em 1em 2.2em;
	border-radius: 0 1em 1em 0;
	display: flex;
	align-items: center;
	transition: 0.4s;
}

.card .view-more:hover {
	background-color: #83cff044;
	cursor: pointer;
}

.being-edited .card .view-more {
	background-color: #7fff89;
	box-shadow: 0 0 0 0.2rem #7fff89 inset
}

.being-edited .card .view-more:hover {
	background-color: #7fff8900;
	color: #7fff89;
}

.empty-list {
	text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
	margin-top: 4rem;
}

.signup-page .form-wrapper .logo,
.login-page .form-wrapper .logo {
	text-align: center;
	margin: 0 auto 20px
}

.signup-page .form-wrapper .logo img,
.login-page .form-wrapper .logo img {
	width: 50%;
	margin: auto
}

@media(max-width:600px) {
	.signup-page .form-wrapper .logo img,
	.login-page .form-wrapper .logo img {
		width: 50%
	}
}

.alert-warning{
	color: #856404;
	background-color: #fff3cd;
	border-color: #ffeeba;
	font-weight: 300;
	font-size: 1em;
	margin: 30px 0;
	display: flex;
	align-items: center;
	justify-content: space-between
}

@media(max-width:600px) {
	.alert-warning{
		padding: 10px 15px
	}
}

.alert-warning .close{
	color: #856404;
	font-weight: 300;
	order: 1;
	outline: none!important;
	transition: all .3s ease-out
}

.alert{
	position: relative;
	padding: .75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 10px;
	font-family: 'Roboto', sans-serif
}

.dashboard-alert {
	width: 21.5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.alert button.close{
	padding: 0;
	background-color: transparent;
	border: 0;
	-webkit-appearance: none;
	float: right;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .4
}

.alert button.close:hover{
	cursor: pointer
}

.signup-page .form-wrapper h1,
.login-page .form-wrapper h1,
.card h1 {
	font-size: 1.5rem;
	color: #5f6988;
	font-weight: 300;
	border-bottom: 1px solid #dee2ef;
	padding-bottom: 5px;
	margin-bottom: 20px;
	font-family: 'Roboto', sans-serif
}

.card h1 {
	margin-bottom: 0;
}

.card h1 input {
	font-size: 1.5rem;
	color: #5f6988;
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
}

.page-title h1 {
	color: #343b4f;
	font-weight: 500;
	font-size: 2.2rem;
	margin-top: 1.4em;
	text-align: center;
	font-family: 'Roboto', sans-serif
}

@media(max-width:600px) {
	.signup-page .form-wrapper h1,
	.login-page .form-wrapper h1,
	.card h1, .card h1 input {
		font-size: 1.3rem
	}
}

.top-bar {
	display: flex;
	align-items: center;
	align-content: center;
	margin-bottom: 1.6rem;
}

.back-button {
	width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.back-button:hover {
	cursor: pointer;
}

.back-button-symbol {
	font-size: 2.8em;
    opacity: 0.75;
    margin-right: 0.5em;
}

.search-bar input {
	padding: 10px 13px;
	width: 24em;
	border-radius: 10px;
	border: 2px solid #d4d9e3;
	font-weight: 200;
	color: #4d5060;
	font-family: 'Roboto', sans-serif;
	transition: all .3s ease-out;
	font-size: 1em;
	outline-color: transparent;
	outline-style: none
}

.space-fill {
	width: 100%;
}

.bottom-space {
	width: 100%;
	height: 2rem;
}

.signup-page .form-wrapper input,
.login-page .form-wrapper input,
.cancel-button {
	padding: 10px 13px;
	margin-bottom: 15px;
	width: -moz-available;
    width: -webkit-fill-available;
    width: stretch;
	border-radius: 10px;
	border: 2px solid #d4d9e3;
	font-weight: 200;
	color: #4d5060;
	font-family: 'Roboto', sans-serif;
	transition: all .3s ease-out;
	font-size: 1em;
	outline-color: transparent;
	outline-style: none
}

@media(max-width:600px) {
	.signup-page .form-wrapper input,
	.login-page .form-wrapper input,
	.search-bar input {
		font-size: 1em
	}
}

.signup-page .form-wrapper .contact-phone input {
	margin-bottom: 0;
}

.signup-page .form-wrapper input::placeholder,
.login-page .form-wrapper input::placeholder,
.search-bar input::placeholder {
	color: #d4d9e3
}

.signup-page .form-wrapper input:hover,
.login-page .form-wrapper input:hover,
.search-bar input:hover,
.cancel-button:hover {
	border-color: #1C5DA0;
	background: #83cff036
}

.signup-page .form-wrapper input:hover::placeholder,
.login-page .form-wrapper input:hover::placeholder,
.search-bar input:hover::placeholder {
	color: #1C5DA0
}

.signup-page .form-wrapper input:focus,
.login-page .form-wrapper input:focus,
.search-bar input:focus {
	background: white;
	border-color: #1C5DA0;
	box-shadow: unset
}

.signup-page .form-wrapper input:focus::placeholder,
.login-page .form-wrapper input:focus::placeholder,
.search-bar input:focus::placeholder {
	color: #d4d9e3
}

.signup-page .form-wrapper fieldset,
.login-page .form-wrapper fieldset {
	border: none;
	padding: 0;
	margin: 0
}

.card a, .card a:visited {
	color: #495169;
}

.card a:active {
	color: #2a2e3c;
}

.signup-page .form-wrapper label,
.login-page .form-wrapper label,
.card p {
	font-size: 1em;
	color: #5f6988;
	margin-bottom: 5px;
	display: flex;
	align-items: flex-end;
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
	max-height: 4rem;
	overflow: hidden;
	transition: 0.6s;
}

.card p input {
	font-size: 1em;
	color: #5f6988;
	font-weight: 300;
	font-family: 'Roboto', sans-serif
}

.card input {
	outline: none;
	box-shadow: none;
	border:0;
	width:100%;
	padding: 0;
}

.card input::placeholder {
	opacity: 0.5;
}

#editing-overlay {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.3);
}

.card-wrapper {
	display: grid;
}

.card-wrapper > div, .card-wrapper > form {
	grid-column: 1;
	grid-row: 1;
}

.signup-page .form-wrapper input[type="submit"],
.login-page .form-wrapper input[type="submit"] {
	background: #1C5DA0;
	color: white;
	border-radius: 10px;
	margin-top: 15px;
	font-size: 1.2em;
	font-weight: 400;
	border: 2px solid #1C5DA0;
	transition: all .3s ease-out
}

.cancel-button {
	margin-top: 0;
	border: 2px solid #d4d9e3;
	color: #4d5060;
	font-size: 1.2em;
	font-weight: 400;
	text-align: center;
}

.cancel-button:hover {
	cursor: pointer;
}

.signup-page .form-wrapper input[type="submit"]:hover,
.login-page .form-wrapper input[type="submit"]:hover {
	cursor: pointer;
	background: white;
	color: #1C5DA0
}

form .errors {
	margin-top: -0.8rem;
	margin-bottom: 1rem;
	list-style: none;
	padding: 0;
	font-size: 0.9em;
	font-family: 'Roboto', sans-serif;
	color: #b75353
}

.being-edited form .errors {
	margin-top: 0.2rem;
}

.contact-phone {
	display: flex;
	margin-bottom: 0.8rem;
}

.contact-phone .delete-phone-button {
	margin: auto 0 auto 0.2rem;
}

.contact-phone .delete-phone-button:hover {
	cursor: pointer;
}

.signup-page .login-signup,
.login-page .login-signup {
	text-align: center;
	font-weight: 300;
	font-size: 1em;
	font-family: 'Roboto', sans-serif;
	margin-top: 20px
}

.signup-page .login-signup a,
.login-page .login-signup a {
	color: #1C5DA0;
	font-weight: 500
}



.add-button {
	background-color: #099;
	color: white;
	text-decoration: none;
	position:fixed;
	bottom:3rem;
	right:4rem;
	cursor: pointer;
	border-radius: 6rem;
	height: 3.4rem;
	display: inline-flex;
	align-items: center;
	overflow:hidden;
	width: auto;
	max-width: 3.4rem; /** I'm animating max-width because width needs to be auto, and auto can't be animated **/
	-webkit-transition: max-width 0.5s;
	transition: max-width 0.5s;
}

.add-button:hover {
	max-width: 20rem;
}

.add-button-symbol {
	margin: auto;
}

.add-button-symbol .material-symbols-rounded {
	font-size: 3.4rem;
}

.add-button-text {
	white-space: nowrap;
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
	font-size: 1.4rem;
	margin-right: 1rem;
}

.logout-button {
	position:fixed;
	top:1.8rem;
	right:2.2rem;

	display: flex;
    align-items: center;

	padding: 0.2rem 0.4rem;
	margin-bottom: 15px;
	border-radius: 10px;
	border: 2px solid #4d5060;
	font-weight: 400;
	color: #4d5060;
	font-family: 'Roboto', sans-serif;
	transition: all .3s ease-out;
	font-size: 1.1rem;
	outline-color: transparent;
	outline-style: none
}

.logout-button-symbol {
    margin-bottom: -0.28rem;
    margin-right: -0.36rem;
	transition: all .3s ease-out;
}

.logout-button:hover {
	cursor: pointer;
	border-right-color: #00000000;
    border-right-width: 0px;
    border-radius: 10px 0 0 10px;
}

.logout-button:hover .logout-button-symbol {
	margin-left: 0.5rem;
	margin-right: -1.5rem;
}

.add-phone-button {
	display: flex;
    align-items: center;

	padding: 0.2rem 0.5rem;
	margin-bottom: 15px;
	border-radius: 10px;
	border: 2px solid #37e07a;
	font-weight: 400;
	color: #ffffff;
	background-color: #37e07a;;
	font-family: 'Roboto', sans-serif;
	transition: all .3s ease-out;
	font-size: 1.1rem;
	outline-color: transparent;
	outline-style: none;
	width: fit-content;
}

.add-phone-button:hover {
	cursor: pointer;
	color: #37e07a;
	background-color: #00000000;
}

.add-phone-button-symbol {
    margin-bottom: -0.28rem;
    margin-left: -0.36rem;
}