
body {
    font-family: 'DM Sans', sans-serif !important;
    color: #2B2F44;
    display: flex;
    background-color: #F4F7FB;
}

main {
    display: flex !important;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
}

main section.grow {
    flex: 0;
    flex-grow: 1;
}

.fl-popover:popover-open {
    max-width: 400px;
    min-height: 32px;
    max-height: 150px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    margin: 32px 32px auto auto;
    background: #221e1e;
    border: none;
    color: white;
    padding: 12px 18px;
    box-shadow: -3px 2px 18px #605858;
}

.toast-close-btn{
    margin-left: 8px;
    font-size: 2px;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #2e2d2d;
    color: white;
    cursor: pointer;
}

.toast-close-btn:hover{
    background: #4c4a4a;
}

#toast-close-icon{
    font-size: 12px;
}

textarea {
    line-height: 1.3em;
    padding: 20px;
    background: transparent;
}

i.material-icons {cursor: pointer;user-select: none;}

.pagination { display: flex; gap: 8px; justify-content: center; }
.pagination button { text-decoration: none; }
.pagination .current-page {
    width: 24px;
    font-weight: bold;
    border: 1px solid var(--primary);
    color: #efefef;
    background: var(--primary) !important;
}
.pagination .any-page {
    width: 24px;
    border: 1px solid var(--primary);
    color: var(--primary);
}

#main-layout a,
#main-layout a:visited{
    color: #2C2F42;
    text-decoration: underline;
    font-weight: normal;
    font-size: 16px;
    opacity: 0.7;
    cursor: pointer;
}

input[type=checkbox] { cursor: pointer;}
input[type=checkbox] ~ label[for] { cursor: pointer; }

select, input[type=text] {
    outline: 0;
    font-size: 16px;
    color: #2B2F44;
    border-radius: 4px;
    border-color: #CDD5E4;
    padding: 8px;
}

select {
    cursor: pointer;
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat;
    background-color: white;
    background-position: right 5px top;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

modal-box {
    z-index: 4; /* modals should be above the header */
}

#main-layout {
    margin: 0 auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: 80px;
}

#main-layout main {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
}

#main-layout h2,
#main-layout h3,
#main-layout h4,
#main-layout h5 {
    line-height: 28px;
    margin-bottom: 16px;
    margin-top: 0;
}

#main-layout h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 44px;
}

#main-layout h2 {
    font-weight: 700;
    font-size: 26px;
}

#main-layout h3 {
    font-weight: 600;
    font-size: 22px;
}

#main-layout h4 {
    font-weight: 600;
    font-size: 20px;
}

#main-layout h5 {
    font-weight: 500;
    font-size: 18px;
}

#main-layout p {
    font-size: 16px;
}

#main-layout header img.logo{
    max-height: 60px;
}

.famelab-section {
    display: flex;
    align-items: center;
    padding: 0 32px;
    max-width: 960px;
    margin: 32px auto;
}

.link {
    color: #4ca1f9;
}

footer.famelab-section {
    display: flex;
    justify-content: flex-start;
    font-size: 16px;
    flex-direction: column;
    align-items: stretch;
    justify-self: flex-end;
}

footer .links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

footer p {
    font-size: 16px;
}

footer a {
    font-size: 16px;
    color: black;
    text-transform: capitalize;
}

footer div {
    text-align: center;
}

footer div.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    margin-top: 64px;
}

footer div.contact p {
    margin-bottom: 4px;
}

footer div.contact a {
    color: var(--primary);
}

footer div.privacy-policy {
    text-align: right;
}

footer img.logo{
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.warning-icon{
    font-size: 20px;
    color: orangered;
    cursor: default;
}

.fl-button {
    background-color: var(--primary, #3936be);
    color: #ffffff;
    padding: 12px 28px;
    text-align: center;
    border: none;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

.fl-button-link {
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

.fl-button i {
    vertical-align: middle;
    padding-right: 8px;
}
.fl-button:hover {
    box-shadow: inset 0 0 0 99999px rgba(0, 0, 0, 0.05);
}

.fl-button[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

.fl-button-accent {
    background-color: #e45050;
}

.fl-button-secondary  {
    background-color: var(--secondary);
}

.fl-button-tertiary {
    background: none !important;    /* Removes the background */
    color: inherit;      /* Inherits the text color from the parent */
    border: none;        /* Removes the border */
    padding: 0;          /* Removes padding */
    margin: 0;           /* Removes margin */
    font: inherit;       /* Inherits the font from the parent */
    cursor: pointer;     /* Keeps the cursor as a pointer to signify it's clickable */
    text-decoration: underline; /* Underlines the text */
    font-weight: normal;
    box-shadow: none !important;
}

.fl-button-tertiary[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

.footer {
    /* justify-content: center !important; */
    /* align-items: center !important; */
    /* padding: 40px 0; */
    /* font-size: 14px; */
    /* opacity: 0.7; */
}

.fl-textfield-wrapper {
    display: flex;
    align-items: center;
}

.fl-textfield-wrapper .fl-textfield-label {
    width: 260px;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
}

.fl-textfield-wrapper .mdl-textfield {
    width: 500px;
    padding: 4px 0px;
}

.fl-textfield-wrapper input[type="file"] {
    padding: 5px 0;
    width: 400px;
}

.fl-textfield-wrapper .mdl-textfield.is-invalid {
    padding-bottom: 20px;
    transition: 0.3s padding ease-out;
}

.fl-textfield-wrapper .fl-textfield-input,
.fl-textfield-wrapper .fl-dropdown {
    border: 1px solid #CDD5E4;
    border-radius: 3px;
    padding: 18px 10px;
    box-sizing: border-box;
    box-shadow: 0 8px 35px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    outline: none;
    /* display: flex; */
    width: 100%;
}

.fl-textfield-wrapper .mdl-textfield.is-disabled .fl-textfield-input {
    border-bottom: 1px solid #CDD5E4;
}

.fl-textfield-wrapper .fl-dropdown select {
    border: none;
    padding: 0;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 5px;
    margin-bottom: 12px;
    box-shadow: 0 20px 60px 0 rgba(0 ,0 ,0, 0.12);
}

.accountmanagers .card-column .card {min-height: 560px;}

#playme {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 8px 0px 0px 0px;
}

.play-icon {
    font-size: 20px;
    padding-right: 4px;
}

.card__header {
    padding: 16px 20px 0px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.card__body {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

#main-layout .mdl-chip {
    background-color: #e5f0f4;
}

#main-layout .mdl-dialog {
    border: none;
    box-shadow: 0 9px 46px 8px rgba(0, 0, 0, .14), 0 11px 15px -7px rgba(0, 0, 0, .12), 0 24px 38px 3px rgba(0, 0, 0, .2);
    width: 280px;
}

#main-layout .mdl-dialog__title {
    padding: 24px 24px 0;
    margin: 0;
    font-size: 2.5rem;
}

#main-layout .mdl-dialog__content {
    padding: 20px 24px 24px;
    color: rgba(0, 0, 0, .54);
}

#main-layout .mdl-dialog__actions {
    padding: 8px 8px 8px 24px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#main-layout .upgrade-link {
    text-decoration: underline;
    cursor: pointer;
}

.material-icons.btn-icon {
    border: none;
    background: transparent;
    cursor: pointer;
    outline: 0;
    color: #9CA1B4;
    box-shadow: none;
    display: flex;
    margin: -2px 0;
}

@media only screen and (max-width: 767px) {
    .famelab-section {
        padding: 32px;
        flex-direction: column;
    }

    .footer .privacy-policy {
        margin-bottom: 20px;
        margin-right: 0;
    }
}

.listed-data {
    width: 100%;
    border: 1px solid #E0E3EF;
    border-radius: 5px;
    background-color: #FFFFFF;
    box-shadow: 0 20px 60px 0 rgba(0,0,0,0.12);
    font-size: 16px;
}

.listed-data tbody tr:hover {
    background-color: #F4F7FB;
}

.listed-data th,
.listed-data td {
    text-align: left;
    font-weight: bold;
    padding: 20px;
    text-transform: capitalize;
    border-bottom: 1px solid #E0E3EF;
    white-space: nowrap;
}

.listed-data tfoot td {
    border-bottom: none;
}

.listed-data th {
    color: #acaeb6;
    font-size: 14px;
}

.listed-data tbody tr:hover .btn-delete {
    display: inline-block;
}

.listed-data .material-icons.btn-delete {
    display: none;
}

.listed-data .fl-dropdown {
    padding: 14px 10px;
    border-radius: 5px;
}

.listed-data select {
    outline: none;
}
.listed-data select:first-letter {
    text-transform: capitalize;
}
.listed-data .fl-textfield-input {
    padding: 13px 10px;
    border-radius: 5px;
    outline: none;
}

.listed-data .fl-button {
    width: auto;
}

.forbidden-error-message {
    text-align: center;
    font-size: 16px;
    line-height: 28px;
    max-width: 700px;
    margin: 40px auto;
}

.header_description {
    margin: 0;
    text-align: left;
    font-size: 16px;
    line-height: 30px;
    opacity: 70%;
}
.no-border{
    border: none !important;
}

.blur {
    filter: blur(.6rem);
}

.fl-radio {
    position: relative;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #b8b8b845;
}

.fl-radio-label {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.fl-radio-input {
    margin: 0 8px 0 0;
    transform: scale(1.2);
}

.fl-radio-label-text {
    white-space: nowrap;
}

show-if-famehack {
    display: none;
}

.is-rotating { animation: rotating 2s linear infinite; }

@keyframes rotating { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
show-if-famehack {
    display: none;
}
