* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Roboto';
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    background-color: var(--whitesmoke) !important;
    /*background-image: url('/img/svg4.svg');*/
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 300;
    color: var(--dark);
}

@media screen and (max-width:600px){
    body {
        background-size: 150%;
    }
}

iframe {
    all: unset;
}

main {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

main h3 {
    padding: 25px 0px 50px 0px;
}

.display-none {
    display: none !important;
}

.primary {
    color: var(--primary-color) !important;
}

.primary-background {
    background-color: var(--primary-color) !important;
}

.secondary {
    color: var(--secondary-color) !important;
}

.secondary-background {
    background-color: var(--secondary-color) !important;
}

.strong {
    font-weight: bold !important;
}

.bolder {
    font-weight: 500 !important;
}

.normal {
    font-weight: normal !important;
}

.red {
    color: var(--red) !important;
}

.red-background {
    background-color: var(--red) !important;
}

.black {
    color: var(--black) !important;
}
.black-background {
    background-color: var(--black) !important;
}

.white {
    color: var(--thite) !important;
}
.white-background {
    background-color: var(--white) !important;
}
.green {
    color: var(--green) !important;
}
.green-background {
    background-color: var(--green) !important;
}
.orange {
    color: var(--orange) !important;
}
.orange-background {
    background-color: var(--orange) !important;
}

.column {
    display: flex !important;
    flex-direction: column !important;
}

.row {
    display: flex !important;
    flex-direction: row !important;
}

.padding-5 {
    padding: 5px !important;
}
.padding-10 {
    padding: 10px !important;
}
.padding-15 {
    padding: 15px !important;
}

.opacity-0-3 {
    opacity: 0.3;
}

.opacity-0-5 {
    opacity: 0.5;
}

.opacity-0-7 {
    opacity: 0.7;
}

.hover:hover {
    opacity: 0.7 !important;
}

.nowrap {
    white-space: nowrap !important;
}

.pointer {
    cursor: pointer !important;
}

.text-center {
    text-align: center !important;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}

.text-size-0-8 {
    font-size: 0.8rem !important;
}

.text-size-0-9 {
    font-size: 0.9rem !important;
}

.text-size-1 {
    font-size: 1rem !important;
}

.text-size-1-15 {
    font-size: 1.15rem !important;
}

.text-size-1-25 {
    font-size: 1.25rem !important;
}

.text-size-1-5 {
    font-size: 1.5rem !important;
}

.text-size-2 {
    font-size: 2rem !important;
}

.text-size-2-25 {
    font-size: 2.25rem !important;
}

.text-size-2-5 {
    font-size: 2.5rem !important;
}

.text-size-3 {
    font-size: 3rem !important;
}

.text-size-4 {
    font-size: 4rem !important;
}

.text-size-5 {
    font-size: 5rem !important;
}

.gap-5 {
    gap: 5px !important;
}
.gap-10 {
    gap: 10px !important;
}
.gap-15 {
    gap: 15px !important;
}
.gap-20 {
    gap: 20px !important;
}
.gap-25 {
    gap: 25px !important;
}
.gap-30 {
    gap: 30px !important;
}
.gap-35 {
    gap: 35px !important;
}
.gap-40 {
    gap: 40px !important;
}
.gap-45 {
    gap: 45px !important;
}
.gap-50 {
    gap: 50px !important;
}
.gap-100 {
    gap: 100px !important;
}
.gap-125 {
    gap: 125px !important;
}
.gap-150 {
    gap: 150px !important;
}
.gap-175 {
    gap: 175px !important;
}
.gap-200 {
    gap: 200px !important;
}

.space-between {
    justify-content: space-between !important;
}

.space-around {
    justify-content: space-around !important;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.full-width {
    width: 100% !important;
    max-width: unset !important;
}

.flex {
    flex: 1 !important;
}

.fit-content {
    width: fit-content !important;
}

.height-fit-content {
    height: fit-content !important;
}

.width-25 {
    width: 25px !important;
}

.width-50 {
    width: 50px !important;
}

.width-75 {
    width: 75px !important;
}

.width-100 {
    width: 100px !important;
}

.width-150 {
    width: 150px !important;
}

.width-200 {
    width: 200px !important;
}

.width-250 {
    width: 250px !important;
}

.width-300 {
    width: 300px !important;
}

.width-400 {
    width: 400px !important;
}

.margin-auto {
    margin: auto !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-top-30 {
    margin-top: 30px !important;
}

.margin-top-40 {
    margin-top: 40px !important;
}

.margin-top-50 {
    margin-top: 50px !important;
}

.max-width-25 {
    max-width: 25px !important;
}

.max-width-50 {
    max-width: 50px !important;
}

.max-width-100 {
    max-width: 100px !important;
}

.max-width-150 {
    max-width: 150px !important;
}

.max-width-200 {
    max-width: 200px !important;
}

.max-width-300 {
    max-width: 300px !important;
}

.max-width-400 {
    max-width: 400px !important;
}

.max-width-500 {
    max-width: 500px !important;
}

.flex-grow {
    flex-grow: 1;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.overflow-auto {
    overflow: auto;
}

.overflow-hidden {
    overflow: hidden;
}

.strednik {
    width: 100%;
    border-bottom: 1px solid var(--grey-lighter);
    padding: 5px 0px 5px 0px;
}

.box-shadow {
    box-shadow: var(--box-shadow) !important;
}

small {
    font-size: 0.8rem;
}

.input {
    all: unset;
    background: var(--white);
    border: 1px solid var(--grey-lighter);
    border-radius: 5px;
    padding: 10px 20px 10px 20px;
}
.input:focus {
    border-color: var(--primary-color-opacity);
    box-shadow: 0px 2px 10px var(--primary-color-opacity);
}
.input::placeholder {
    color: rgb(184, 184, 184);
}

.select {
    all: unset;
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--grey-lighter);
    border-radius: 5px;
    padding: 10px 20px 10px 20px;
}

.select:focus {
    border-color: var(--primary-color-opacity);
    box-shadow: 0px 2px 10px var(--primary-color-opacity);
}

.file {
    all: unset;
    cursor: pointer;
    box-sizing: border-box;
    width: 200px;
    height: 100px;
    padding: 10px;
    border: 1px solid var(--grey-lighter);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.file.input {
    position: absolute;
    opacity: 0;
}

.btn {
    all: unset;
    cursor: default;
    padding: 8px 15px 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.btn:hover {
    opacity: 0.6;
}

.btn.active {
    opacity: 0.6;
    transform: scale(0.9);
}

.btn:disabled {
    opacity: 0.3;
}

.fieldset {
    all: unset;
    box-sizing: border-box;
    padding: 4px 15px 8px 15px;
    border: 1px solid var(--grey-lighter);
    border-radius: 5px;
    height: 50px;   
}
.fieldset.height {
    height: fit-content;
}
.fieldset legend {
    font-weight: 500;
    font-size: 0.8rem;
}
.fieldset input {
    all: unset;
    width: 100%;
}
.fieldset select {
    all: unset;
    width: 100%;
}
.fieldset textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    font-weight: 200;
    font-size: 0.9rem;
}

.a {
    cursor: pointer;
    color: var(--primary-color);
}

.a:hover {
    opacity: 0.7;
}

.modal {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100svh - 60px);
    height: calc(100dvh - 60px);
    z-index: 100000;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.border {
    border: 1px solid !important;
}

.table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.table th {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0px 20px 0px 10px;
    padding-bottom: 20px;
}

.table td {
    padding: 7px 20px 7px 10px;
}

.table tr {
    border-top: 1px solid var(--whitesmoke);
}

.table tr:hover {
    background-color: var(--whitesmoke);
}

.table tr:first-child {
    border-top: none;
    background-color: transparent !important;
}

.position-relative {
    position: relative !important;
}
.position-absolute {
    position: absolute !important;
}

/* FLASH */

.flashes {
    position: fixed;
    top: 0px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 9999;
}

.flash {
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    min-width: 200px;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--box-shadow);
    background-color: var(--white);
}

.flash.error {
    background-color: var(--red);
    color: var(--white);
}

.flash.success {
    background-color: var(--green);
    color: var(--white);
}

.flash.warning {
    background-color: var(--orange);
    color: var(--white);
}

/* AUTH */

.auth-container {
    margin-top: 150px;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    border-radius: 15px;
    color: var(--black);
    background-color: var(--white);
    box-shadow: var(--box-shadow2);
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 50px 60px 50px;
}

.auth-container form img {
    height: 65px;
    margin-right: -10px;
    align-self: center;
}

.auth-container form h1 {
    all: unset;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
}

.auth-container form h2 {
    all: unset;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
}

.auth-container form a {
    all: unset;
    cursor: pointer;
    margin-top: -9px;
    text-align: end;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: underline;
}

.auth-container form a:hover {
    opacity: 0.8;
}

.auth-container .pin {
    margin-top: 25px;
}

.auth-container .number {
    all: unset;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 5px;
    background-color: var(--white);
    border: 1px solid var(--grey-lighter);
    border-radius: 5px;
    -moz-appearance: textfield;
}

.number::-webkit-outer-spin-button,
.number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}