html, body{
    background-color: #fff !important;
}

:root{
    --color-first: #001F3F;
    --color-second: #4682B4;
}

@font-face {
    font-family: 'heading1';
    src: url('../Assets/Fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: 'text';
    src: url('../Assets/Fonts/Poppins-Regular.ttf');
}

::-webkit-scrollbar{
    width: 0px;
}

html, body{
    height: 100%;
    width: 100%;
    background-color: var(--color-third);
}

*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'text';
    line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'heading1';
}

a{
    text-decoration: none;
    color: inherit;
}

a:hover{
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
}

.bg-null{
    background-color: transparent;
}

.bg-null:hover{
    background-color: var(--color-first) !important;
    border: var(--color-first) !important;
}

.bg-first{
    background-color: var(--color-first) !important;
}

.bg-second{
    background-color: var(--color-second) !important;
}

.color-first{
    /* color: var(--color-first) !important; */
    color: white !important;
}

.color-second{
    color: var(--color-second) !important;
}

.border-first{
    border: 1px solid var(--color-first) !important;
}

.border-second{
    border: 1px solid var(--color-second) !important;
}

/* .color-third{
    color: var(--color-third);
} */

.font-first{
    font-family: heading1 !important;
}

.font-second{
    font-family: text;
}

.active{
    color: var(--color-second) !important;
    font-family: heading1;
    font-weight: bold;
    background-color: rgba(0,0,0,0) !important;
}

.buttons{
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
    border: 0px;
}

button:hover{
    opacity: 0.8;
}

button{
    outline: none;
    border: none;
}

.border-black{
    border: 1px solid black;
}

nav{
    border-radius: 0px 0px 10px 10px;
    color: white;
    padding: 10px;
    transition: background-color 0.3s ease;
}

nav.fixed-navbar {
    background-color: var(--color-first);
    transition: background-color 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
}

footer{
    background-color: var(--color-first);
}

ul li{
    list-style: none;
}

footer .fab{
    font-size: 24px;
}

.chat-input, textarea, .form-control, #searchtask{
    background-color: #343541 !important;
    color: white !important;
}

small, label, .text-secondary, li {
    color: white !important;
}

.dropdown-menu{
    background-color: #343541;
}

.dropdown-item{
    color: white !important;
}

.dropdown-item:hover{
    background-color: #343541 !important;
    color: var(--color-first) !important;
}

.bg-white{
    background-color: white !important;
    color: black !important;
}

input{
    border: 1px solid #ced4da;
    color: white !important;
}

select{
    color: white;
}

select option{
    color: black;
}

table{
    background-color: white;
    
}

.child span{
    color:black !important;
}

.inputs{
    background-color: #f7f7f7;
    border-radius: 5px;
    padding:10px;
    width: 100%;
    border: none;
}

.selects{
    background-color: #f7f7f7;
    border-radius: 5px;
    padding:10px;
    border: none;
}

.trix-editor{
    white-space: pre-wrap; /* Memaksa konten untuk berbaris */
    word-wrap: break-word; /* Memecah kata jika konten melebihi lebar */
    overflow-wrap: break-word;
}

trix-toolbar [data-trix-button-group="file-tools"]{
    display: none;
}

#loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100%;
    max-height: 100%;
}

.trix-button{
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    color: #212529 !important;
}

@media only screen and (max-width: 990px) {
    nav{
        background-color: var(--color-first) !important;
    }
}

@media screen and (max-width: 990px) and (min-width: 768px) {
    #content{
        height: 1500px !important;
    }

    #content:before{
        height: 1500px !important;
    }
}

@media screen and (max-width: 767px) and (min-width: 280px) {
    #content{
        height: 2750px !important;
    }

    #content:before{
        height: 2750px !important;
    }

    #bg_1{
        height: 400px !important;
    }

    #bg_4 {
        height: 400px !important;
    }

@media screen and (max-width: 820px) and (min-width: 280px) {
    #bg_1{
        height: 400px !important;
    }

    #bg_4 {
        height: 400px !important;
    }
}
@media screen and (max-width: 466px) and (min-width: 280px) {
    
    footer{
        text-align: center !important;
    }

    footer ul{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}