﻿body {
    background-color: var(--background-color-first);
    color: var(--color-first);
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;    
}

*:focus-visible{
    outline: none;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*Custom button with background color*/
.custom-btn-full-color{
    background-color: var(--background-color-third);
    border: none;
    color: var(--background-color-second);
    padding: 5px 20px;
    border-radius: 5px;
    font-size: 16px;
}

.custom-btn-full-color:hover{
    opacity: 0.8;
    
}

.custom-btn-full-color:disabled{
    background-color: var(--color-third);
    opacity: 1;
    
}

/*SweetAlert2 custom styles*/
.swal2-title{
    font-size: 16px !important;
}

.swal2-html-container{
    font-size: 14px !important;
}

.swal2-styled.swal2-confirm{
    background-color: var(--background-color-third) !important;
    font-size: 14px !important;
}

.swal2-styled.swal2-confirm:focus{
    box-shadow: none !important;
}

/*Full screen loading*/
.full-screen-loading, .full-modal-loading {
    display: inline-block;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgb(130, 130, 130, 0.3);
}

.full-modal-loading{
     position: absolute;
}

.full-screen-loading div, .full-modal-loading div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: calc(50% - 10px);
    top: calc(50% - 10px);
    width: 35px;
    height: 35px;
    margin: 0px;
    border: 3px solid var(--background-color-third);
    border-radius: 50%;
    animation: full-screen-loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--background-color-third) transparent transparent transparent;
}
.full-screen-loading div:nth-child(1), .full-modal-loading div:nth-child(1){
    animation-delay: -0.45s;
}
.full-screen-loading div:nth-child(2), .full-modal-loading div:nth-child(2){
    animation-delay: -0.3s;
}
.full-screen-loading div:nth-child(3), .full-modal-loading div:nth-child(3){
    animation-delay: -0.15s;
}
@keyframes full-screen-loading {
    0% {
    transform: rotate(0deg);
    }
    100% {
    transform: rotate(360deg);
    }
}