@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;300;400;500;600;700;800;900&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

/*### CUSTOM CSS ###################*/
@layer utilities {
    #section_boundary{
        overflow-x: hidden;
    }
    #section_boundary.hidden{
        display:none
    }
}


:focus-visible {
    outline: none !important;
}

input:focus, input.form-control:focus {
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

@font-face {
    font-family: "jbm-regular-semi-ita";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/JetBrainsMono-SemiBoldItalic-3a2115da02659b2db1a05f41703522f238ca1a684bd7b0d0423b46fe35ec1b5b.woff2) format('woff2')
}

@font-face {
    font-family: "jbm-regular-extra";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/JetBrainsMono-ExtraBold-faae1cef501859ae34168df5568bba47dbd875e236e00b2d3615b679ae30ec2f.woff2) format('woff2')
}

/* CULL CUT -------------------------------------------------- */

@font-face {
    font-family: "jbm-regular";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/JetBrainsMono-Regular-a55cbf8d4a7841f46240a337cf6e2993922f0476909f78a0b8a78ec667050ba6.woff2) format('woff2')
}

@font-face {
    font-family: "jbm-regular-ita";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/JetBrainsMono-Italic-f50bd39ad73fe0d01f914f11d5d3c89fba766d8611ac77c2acf748ec7951c695.woff2) format('woff2')
}

@font-face {
    font-family: "jbm-regular-semi";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/JetBrainsMono-SemiBold-82024c4500356522f48ffbc3ef5d763c553722cfd57467675c126de5f128911f.woff2) format('woff2')
}

@font-face {
    font-family: "jbm-regular-bold";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/JetBrainsMono-Bold-5c07f934279e68f3fcd6be051432d8f724b9ba3006d685d7cbf0e0ab5d8955ac.woff2) format('woff2')
}

@font-face {
    font-family: "really-sans";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/ReallySansLargeStudent-Ultra-149d49972a572e63898de3f00777e9624bdf15050d8d94609496b37106a561e5.woff2) format('woff2')
}

@font-face {
    font-family: "really-sans-light";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/ReallySansLargeStudent-Thin-07007e9aa2c901ce9c68fb690a5f8f79bd19a13b96104a24174b55f19f22b4f8.woff2) format('woff2')
}

@font-face {
    font-family: "moranga-ita";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/Moranga-RegularIt-294736d0c38010b3c96d404606264d9edf0d201522077b4feeeb45adc6eaa5b8.woff2) format('woff2')
}


@font-face {
    font-family: "moranga-medium";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/Moranga-Medium-b90d642f42ec856d6cc49af9407e6a86e37f1d2c7f355c5100e17034eb7288e1.woff2) format('woff2')
}

@font-face {
    font-family: "moranga-bold-ita";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/Moranga-BoldIt-641b3718d5bc0884ea3664cbe238dfc40894e8d7c6ab3f2744f2688c36f835f0.woff2) format('woff2')
}

@font-face {
    font-family: "moranga-bold";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/Moranga-Bold-95578b2b39d50e6a975fac28b985d5f23ad844d10ffd80b9931ab1c87ff30517.woff2) format('woff2')
}

@font-face {
    font-family: "moranga-medium-ita";
    font-style: normal;
    font-weight: 400;
    src: url(/assets/Moranga-MediumIt-7ab4ca7bfb8d26813c75785876f5f55615a9c396e0ed8db837abd0279d642db6.woff2) format('woff2')
}

/*--- bug-fix -----------------------*/
.badge-info {
    @apply border-base-200 bg-base-100 text-base-content rounded-badge border;
    @apply bg-info text-info-content border-transparent;
}

/*--- infinite scroll -----------------------*/

.infinite-scroll{
    will-change: transform;
    animation: scrolling 75s linear infinite;
}

@keyframes scrolling {
    from { transform: translateX(0);}
    to { transform: translateX(-100%);}
}

/*--- custom -----------------------*/
.element-shadow{
    filter: drop-shadow( -8px 20px 45px rgba(0, 0, 0, 0.30));
}

.element-sm-shadow{
    box-shadow: -8px 20px 45px rgb(0 0 0 / 0.15)
}

.element-lg-shadow{
    filter: drop-shadow( -8px 20px 45px rgba(0, 0, 0, 0.45));
}

.super-crisp{
    image-rendering: crisp-edges;
}

.highlighter{
    background-color: rgb(254,212,114,100);
}

.highlighter-dark{
    background-color: rgba(0,0,0,0.25);
}

.highlighter-blue{
    background-color: rgba(92,160,255,0.65);
}

.better-dash{
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='10' ry='10' stroke='%23FFF' stroke-width='1.5' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");
    border-radius: 10px;
}

.better-dash-black{
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='10' ry='10' stroke='%23000' stroke-width='1.5' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");
    border-radius: 10px;
}

.better-dash-black-rounded-none{
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='1.5' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");
}

.mission-fader{
    background-image: linear-gradient(
            rgb(225,213,183),
            rgb(225,213,183) 75%,
            rgba(225,213,183,0) 25%,
            rgba(225,213,183,0));
}

section.after, section.before {
    padding-bottom: 0;
    padding-top: 0;
}

section.before:before, section.after:after {
    content: "";
    display: block;
    height: 6px;
    width: 100%;
    position: relative;
    left: 0;
}

section.before.black.tan:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%20%20%3Cpolygon fill='%23E1D5B7' fill-rule='evenodd' points='9 0 18 6 0 6'/%3E%3C/svg%3E");
    background-color: #2e282a;
}

section.before.tan.teal:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%20%20%3Cpolygon fill='%230DAB8B' fill-rule='evenodd' points='9 0 18 6 0 6'/%3E%3C/svg%3E");
}

section.before.green.blue:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%20%20%3Cpolygon fill='%234A77BF' fill-rule='evenodd' points='9 0 18 6 0 6'/%3E%3C/svg%3E");
    background-color: rgb(12,171,139);
}

section.before.pink.purple:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%20%20%3Cpolygon fill='%23A185FF' fill-rule='evenodd' points='9 0 18 6 0 6'/%3E%3C/svg%3E");
    background-color: #FFDBD6;
}

section.before.tan.purple:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%20%20%3Cpolygon fill='%238D76FF' fill-rule='evenodd' points='9 0 18 6 0 6'/%3E%3C/svg%3E");
    background-color: rgb(219,202,154);
}

section.before.purple.black:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%20%20%3Cpolygon fill='%232e282a' fill-rule='evenodd' points='9 0 18 6 0 6'/%3E%3C/svg%3E");
    background-color: rgb(128,91,255);
}

.image-upload > input
{
    display: none;
}
.attach-doc
{
    cursor: pointer;
}

.field_with_errors input{
    @apply input-warning;
}

.btn-normalize{
    @apply normal-case;
    @apply text-base;
    @apply p-2;
}

.btn-retro{
    @apply rounded-3xl;
    @apply border;
    @apply border-gray-800;
    @apply hover:border;
    @apply hover:border-gray-800;
    @apply hover:-translate-y-1;
    @apply hover:-translate-x-1;
}

.btn-retro:hover{
    box-shadow: 5px 5px 0 rgba(31, 41, 55, 1);
}

.btn-retro-hidden{
    @apply rounded-3xl;
    @apply border;
    @apply border-gray-800;
    background-color: transparent;
}

.btn-retro-hidden:hover{
    @apply rounded-3xl;
    @apply border;
    @apply border-gray-800;
    @apply hover:border;
    @apply hover:border-gray-800;
    @apply hover:-translate-y-1;
    @apply hover:-translate-x-1;
    box-shadow: 5px 5px 0 rgba(31, 41, 55, 1);
}

.btn-footer{
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.btn-footer:hover{
    border-bottom: 6px solid #000;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 2px solid #000;
    color: white;
    @apply hover:-translate-y-1;
    @apply hover:-translate-x-1;
    border-radius: 0px;
}

.btn-header{
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    box-shadow: none;
}

.btn-header:hover{
    border-bottom: 6px solid #000;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 2px solid #000;
    color: white;
    @apply hover:-translate-y-1;
    @apply hover:-translate-x-1;
    border-radius: 0px;
}

.btn-interface{
    @apply hover:border;
    @apply hover:border-gray-800;
    @apply hover:-translate-y-1;
    @apply hover:-translate-x-1;
    @apply hover:shadow-xl;
    @apply hover:bg-white
}

.link-block-retro{
    @apply hover:-translate-y-1;
    @apply hover:-translate-x-1;
    @apply hover:shadow-xl;
}

.card-retro{
    @apply hover:border;
    @apply hover:border-gray-800;
    @apply hover:-translate-y-1;
    @apply hover:-translate-x-1;
    @apply hover:shadow-xl;
}

.btn-back{
    @apply bg-slate-300;
    @apply hover:bg-slate-300;
}

.btn-sub-current{
    @apply rounded-3xl;
    @apply bg-neutral-content;
    @apply border;
    @apply border-gray-800;
    @apply hover:bg-neutral-content;
    @apply hover:border-gray-800;
    @apply hover:-translate-y-1
}

.btn-sub{
    @apply rounded hover:-translate-y-1;
}

.btn-disabled.btn-disabled-color{
    @apply bg-amber-700;
    @apply text-white;
}

.flex-fix-50{
    @apply basis-1/2;
}

.input:disabled{
    @apply bg-neutral-content;
    @apply font-['jbm-regular'];
    @apply text-sm;
    cursor: default;
}

.select:disabled{
    @apply bg-neutral-content;
    @apply font-['jbm-regular'];
    @apply text-sm;
    background-image: none;
    cursor: default;
}

.btn:disabled {
    @apply bg-neutral-content;
    @apply border;
    @apply border-gray-800;
    @apply text-primary-content;
}

th>.truncate, td>.truncate{
    width: auto;
    min-width: 65px;
    max-width: 250px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-h2{
    @apply font-['moranga'];
    @apply text-3xl;
}

/* TABLE MAGIC! */

.report-table.table :where(th,td){
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
}

.report-table.table thead th {
    /* There is a stupid bug here */
    /*position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    background: green !important;*/
    font-weight: 500 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.table tbody th {
    position: relative !important;
}

.table thead th:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    background-image: linear-gradient(to right, rgba(46,40,42,1) 98%, rgba(255,0,0,0));
}

.report-table.table tbody tr td:first-child {
    position: sticky !important;
    left: 0 !important;
    /*background: white !important;*/
    background-image: linear-gradient(to right, rgba(255,255,255,1) 98%, rgba(255,0,0,0));
    z-index: 1 !important;
}

.report-table.table tbody tr:hover td:first-child {
    background-image: linear-gradient(to right, rgba(237,230,212,1) 98%, rgba(255,0,0,0));
}

.report-table.table tbody tr:hover {
    @apply bg-neutral-content;
}

.generic-table.table tbody tr:hover {
    background-color: #E1D5B7 !important;
    @apply border-b;
    @apply border-gray-600;
}

.generic-table.table thead th {
    /* There is a stupid bug here */
    /*position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    background: green !important;*/
    font-weight: 500 !important;
}


.table tbody tr:hover td:not(:first-child){
    font-family: jbm-regular-extra !important;
}

.table tbody tr.profit td{
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}


/*--- disclaimer -----------------------*/
.disclaim-h1{
    @apply text-orange-600;
    @apply font-['really-sans'];
    @apply text-5xl;
    @apply text-black;
    @apply pb-4;
}

.disclaim-h2{
    @apply pb-4;
    @apply pt-4;
    @apply font-['moranga-medium'];
    @apply text-4xl;
    @apply capitalize;
}

.disclaim-h3{
    @apply py-2;
    @apply uppercase;
    @apply font-bold;
    @apply text-xl;
}

.disclaim-bold span{
    @apply font-sans;
    @apply text-base;
    @apply font-semibold;
    @apply uppercase;
}

li.disclaim-bold span{
    @apply text-base;
}

.disclaim-italic span{
    @apply italic;
}

.disclaim-underline span{
    @apply underline;
}

.disclaim-list{
    @apply list-disc;
    @apply list-outside;
    @apply pl-8;
    @apply font-sans;
}

.disclaim-list li{
    @apply pb-2;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
