/*
Tiffosi
Last updated: 2023-01
*/

@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

html,
body {
	margin:0;
	padding:0;
	border: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	background-color: #FFEBEE;
	overflow-y: scroll;
	overflow-x: hidden;
	font-family: 'Source Sans Pro', sans-serif;
}

*,
:after,
:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
}

.card {
	width: 400px;
	background-color: #fff;
	border: none;
	border-radius: 12px;
}

.card p {
	letter-spacing: 0.4px;
    color: #767676;
    line-height: 18px;
    font-size: 12px;
}

.card a {
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--bs-body-color);
}

.card a:hover,
.card a:active,
.card a:focus,
.card a:active:focus,
.card a:hover {
	color: #186da0;
}
.card.header {
	background-color: transparent;
	text-align: center;
}

.card.header img {
	display: block;
    position: relative;
    width: 220px;
    height: auto;
    margin: 0 auto;
    opacity: 1;
}

.card-content {
	display: block;
    position: relative;
	padding: 20px !important;
}

.card-content .card-content {
	padding: 0px !important;
}

.card.header .card-content {
	padding: 0px !important;
}

.card.center {
	text-align: center;
}

/*
Radio Labels
*/

label.radio {
	cursor: pointer;
	width: 100%;
}

label.radio input {
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	pointer-events: none
}

label.radio span {
	padding: 0px 14px;
	border: 2px solid #eee;
	display: inline-block;
	color: #9b757d;
	border-radius: 0px;
	width: 100%;
	height: 48px;
	line-height: 44px;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

label.radio input:checked+span:hover {
	background-color: #000000;
	border-color: #000000;
}

label.radio input:checked+span {
	border-color: #29304C;
	background-color: #29304C;
	color: #fff;
}

.flex-row {
	gap: .25rem;
}

/*
Form inputs
*/

.form-group {
	display: block;
    position: relative;
}

.form-control {
	width: 100%;
	height: 48px;
	border: 2px solid #eee;
	border-radius: 0px
}

.form-control:focus {
	box-shadow: none;
	border: 2px solid #29304C
}

.form-control.form-inline {
	width: calc(100% - .25rem);
	margin-left: .125rem;
	margin-right: .125rem;
}

.form-control.form-number {
	width: 60px;
	text-align: center;
}

.form-control.padded {
	padding-right: 50px;
}

.form-control.hidden {
	display: none;
}

.action-button {
	background: #29304C;
	width: 100%;
	height: 50px;
	border-radius: 0px;
	border-color: #29304C;
}

.action-button:hover,
.action-button:active,
.action-button:focus,
.action-button:active:focus,
.action-button:hover {
	background-color: #000000;
	border-color: #000000;
	box-shadow: none;
}

.key {
	display: block;
	position: absolute;
	top: 6px;
    right: 0;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    line-height: 12px;
    width: auto;
    height: auto;
    color: #898989;
    cursor: pointer;
}

.key.input {
    top: 19.5px;
    right: 14px;
}

.card.footer {
	background-color: transparent;
	text-align: center;
}

.card.footer .card-content {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	padding-left: 50px !important;
	padding-right: 50px !important;
}

.card.footer h6 {
	color: #767676;
}

.card.footer h6.mb-3 {
    margin-bottom: 0.5rem !important;
}

.card.footer p {
}

.card.footer p {
    margin-bottom: 0.5rem !important;
}

.card.footer p:last-child {
    margin-bottom: 0rem !important;
}

/*
Message box
*/

.msg-container {
	display: flex;
	position: fixed;
	flex-direction: column-reverse;
	align-items: flex-start;
	gap: 10px;
	bottom: 20px;
	left: 20px;
	width: auto;
	height: auto;
}
.msg-container p {
	display: block;
	position: relative;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 15px 10px 15px;
	font-size: 14px;
	color: #fff;
	background: transparent;
	border-radius: 4px;
	cursor: pointer;
}
.msg-container p.info {
	background: #d1bfc2;
}
.msg-container p.error {
	background: #ff1e3e;
}
.msg-container p.success {
	background: #007500;
}
@media only screen and (max-width: 768px) {
	.msg-container {
		align-items: center;
		width: calc(100% - 120px);
	    left: 50%;
	    transform: translateX(-50%);
	    text-align: center;
	}
}

/*
Archive
*/

.archive-container {
	display: flex;
	position: fixed;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	top: 20px;
	left: 20px;
	width: auto;
	height: auto;
}
.archive-container p {
	display: block;
	position: relative;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 15px 10px 15px;
	font-size: 14px;
	color: #898989;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
}
.archive-container p.info {
	background: #fff;
}
@media only screen and (max-width: 768px) {
	.archive-container {
		align-items: center;
		width: calc(100% - 120px);
	    left: 50%;
	    transform: translateX(-50%);
	    text-align: center;
	}
}

/*
Switcher
*/

.dot-switchers {
	display: flex;
	justify-content: center;
	gap: 5px;
	position: relative;
	width: 100%;
	height: auto;
	margin-top: 20px;
}
.dot-switchers a.dot {
	display: flex;
	position: relative;
	width: 7px;
	height: 7px;
	background: #cecece;
	border-radius: 50px;
}
.dot-switchers a.dot.active {
	background: #29304C;
}
.dot-switchers a.dot:hover {
	background: #a9a9a9;
}
.dot-switchers a.dot.active:hover {
	background: #29304C;
}
