* {
    font-family: 'Rubik', sans-serif;
}

[aria-label][data-balloon-pos]:after {
    font-family: 'Rubik', sans-serif;
}

a {
    text-decoration: none !important;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    box-sizing: border-box;
}

body {
    background-color: #f5f8fa;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
}

/* Login Page */
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.login-container {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #0079be;
}

.form-signin>.branding {
    margin-bottom: 4rem;
}

.form-signin>.branding>img {
    width: 10rem;
}

.form-signin>.branding>hr {
    height: 2px;
    width: 150px;
    margin: auto;
    color: #cecece;
    opacity: 30%;
}

.form-signin>.branding>div {
    color: white;
    margin-top: 2px;
}

.microsoft-login-button {
    width: 248px;
    height: 41px;
    display: block;
    margin: auto;
}

.form-signin>.card {
    border-radius: 0.8rem;
}

.form-signin>.card>.card-header {
    font-size: 16px;
    padding: 1rem;
}

.form-signin>.card>.card-header {
    border-radius: 0.8rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-signin {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: auto;
    text-align: center;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

@media (prefers-color-scheme: dark) {
    .form-signin>.card {
        background-color: rgb(0 0 0 / 50%);
        border: 0px solid;
    }

    .form-signin>.card>.card-header {
        background-color: rgb(0 0 0 / 30%);
        border-bottom: 0px solid;
        color: white;
    }

    .microsoft-login-button {
        background: url(/logo/saml/ms-symbollockup_signin_dark.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
}

@media (prefers-color-scheme: light) {
    .form-signin>.card {
        background-color: rgb(255 255 255 / 75%);
        border: 0px solid;
    }

    .form-signin>.card>.card-header {
        background-color: rgb(255 255 255 / 50%);
        border-bottom: 0px solid;
    }

    .microsoft-login-button {
        background: url(/logo/saml/ms-symbollockup_signin_light.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
}

/* App Dashboard */

.main-holder {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.container {
    transition: 0.2s;
    padding-bottom: 1rem;
}

/* Animations */
.animate__faster {
    --animate-duration: 0.1s;
}

/* List */
.card-list {
    padding: 2rem;
}

.card-list-title {
    font-size: 26px;
}

.card-list-search {
    padding: 45px;
    width: 100%;
}

.card-list-end {
    color: #a5a5a5;
}

.card-list-source {
    font-size: 18px;
    font-weight: 500;
}

.card-list-src-holder {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.wrapoff {
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.card-list-dest {
    color: #757575;
    font-weight: 400;
    font-size: 14px;
}

.card-list-buttons {
    margin: auto;
}

.bd-placeholder-img {
    margin: 0px 1rem 0px 2px;
}

.microsoft-login-button {
    transition: all 0.2s;
}

.microsoft-login-button:hover {
    filter: brightness(0.7);
    transition: all 0.2s;
}

/* New form */
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active {
    outline: 0px !important;
    -webkit-appearance: none;
    box-shadow: none !important;
}

.form-control {
    color: #212529;
    background-color: rgb(0 0 0 / 2%);
    border: 1px solid rgb(0 0 0 / 4%);
}

.new-redirect-title {
    padding: 1.5rem 0.2rem;
}

/* Transparent button*/
.btn-new {
    color: white;
    background-color: #0079be;
}

.btn-new:hover {
    color: white;
    background-color: #004972;
}

.btn-transparent {
    background-color: rgb(0 0 0 / 0%);
    border-color: rgb(0 0 0 / 0%);
}

.icon-edit {
    font-size: 22px;
    color: #a3a3a3;
    transition: all 0.2s;
    line-height: 2rem !important;
}

.icon-edit:hover {
    font-size: 22px;
    color: #2e2e2e;
    transition: all 0.2s;
}

.icon-delete {
    font-size: 22px;
    color: #f15e5e;
    transition: all 0.2s;
    line-height: 2rem !important;
}

.icon-delete:hover {
    font-size: 22px;
    color: #8f2b14;
    transition: all 0.2s;
}

.paths-holder {
    background-color: rgb(0 0 0 / 4%);
    border-radius: 0.25rem;
    padding: 0.75rem;
}

/* Edit */
.edit-infos {
    color: #7d7d7d;
    font-size: 15px;
}

/*Boostrap Override*/
.btn-success {
    color: #fff;
    background-color: #00965f;
    border-color: #198754;
}

.btn-danger {
    color: #fff;
    border-color: #f1416c;
    background-color: #f1416c;
}

.nav-bg {
    background-color: #0079be;
}

.cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 500px;
}

.rounded {
    border-radius: 0.5rem !important;
}

/* Modal */
.modal-confirm {
    color: #636363;
    max-width: 400px;
}

.modal-confirm .modal-content {
    padding: 20px;
    border-radius: 5px;
    border: none;
    text-align: center;
    font-size: 14px;
}

.modal-confirm .modal-header {
    border-bottom: none;
    position: relative;
}

.modal-confirm h4 {
    text-align: center;
    font-size: 26px;
    margin: 30px 0 -10px;
}

.modal-confirm .close {
    position: absolute;
    top: -5px;
    right: -2px;
}

.modal-confirm .modal-body {
    color: #999;
}

.modal-confirm .modal-footer {
    border: none;
    text-align: center;
    border-radius: 5px;
    font-size: 13px;
    padding: 10px 15px 25px;
}

.modal-confirm .modal-footer a {
    color: #999;
}

.modal-confirm .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    z-index: 9;
    text-align: center;
    border: 3px solid #f15e5e;
}

.modal-confirm .icon-box i {
    color: #f15e5e;
    font-size: 46px;
    display: inline-block;
    margin-top: 13px;
}

.modal-confirm .btn,
.modal-confirm .btn:active {
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s;
    line-height: normal;
    min-width: 120px;
    border: none;
    min-height: 40px;
    border-radius: 3px;
    margin: 0 5px;
}

.modal-confirm .btn-secondary:hover,
.modal-confirm .btn-secondary:focus {
    background: #a8a8a8;
}

.modal-confirm .btn-danger {
    background: #f15e5e;
}

.modal-confirm .btn-danger:hover,
.modal-confirm .btn-danger:focus {
    background: #ee3535;
}

.trigger-btn {
    display: inline-block;
    margin: 100px auto;
}

.close-modal-x {
    font-size: 5rem;
    color: #f15e5e;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                          supported by Chrome, Edge, Opera and Firefox */
}

/* Nav */
#darkswitch {
    cursor: pointer;
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

.video-container-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.header-brand {
    position: relative;
    margin-left: 3rem;
    z-index: 3;
}

.header-brand-divider {
    background-color: rgb(0 121 190);
    width: 12.5rem;
    left: 0rem;
    height: 35px;
    display: inline-block;
    position: absolute;
    border-right: 0.5px solid rgba(255, 255, 255, 0.4);
    z-index: 2;
    transition: height 2s 2s ease;
}

.header-brand-site-name {
    display: inline-block;
    margin-left: 4rem;
    height: 35px;
    position: absolute;
    line-height: 35px;
    font-size: 24px;
    color: #fff !important;
    --animate-duration: 0.7s;
}

.dropdown-menu[data-bs-popper] {
    margin-top: 1rem;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
}

nav i.fa-solid {
    width: 22px;
    text-align: center;
}

.nav-profile-picture{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 30%);;
    border: none;
    margin-right: 1rem;
}

.nav-profile-header{
    margin: 1rem 1.2rem 0.5rem 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: solid 1px rgb(0 0 0 / 40%);
    width: auto;
    font-size: 1.1rem;
}

.nav-profile-header-email {
    font-size: 0.8rem;
    color: rgb(0 0 0 / 60%);
    display: block;
}

/* Nav name before drop down */
.nav-name-holder {
    display: flex;
    flex-direction: column;
}

.nav-profile-holder {
    display: flex;
    flex-direction: row;
}

.nav-name-holder>.nav-name {}

.nav-name-holder>.nav-role {
    font-size: .75rem;
}

/* Scroll bar */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #eaeaea;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c6c6c6;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

.navbar-collapse {
    margin-right: 2.5rem;
}

.nav-link-profile {
    display: flex;
}

.nav-link-profile::after{
    position: relative;
    margin-top: 1.25em;
    margin-left: 1rem;
}

@media only screen and (max-width: 767px) {
    .header-brand {
        margin-left: 0rem;
    }

    .header-brand-divider {
        width: 8.5rem;
    }

    .header-brand-site-name {
        margin-left: 2rem;
        font-size: 18px;
    }

    .btn {
        width: 100%;
        height: 30px;
        line-height: 15px;
    }

    .btn-redirection-list {
        width: 50%;
    }

    .card-list-search {
        padding: 15px;
    }

    .card-list {
        padding: 1rem;
    }

    .card-list-src-holder {
        padding: 1rem;
    }

    .new-redirect-title {
        padding: 1rem 0.2rem;
    }

    /* Delete modal*/
    .modal-confirm h4 {
        text-align: center;
        font-size: 26px;
        margin: 0px 0 10px;
    }

    .modal-confirm .modal-content {
        padding: 1rem;
        margin: 1rem;
    }

    .modal-header {
        padding: 0rem 0rem;
    }

    .modal-confirm {
        min-width: 250px;
        margin: auto;
        height: 35rem;
    }

    .modal-footer>button {
        margin: 0.5rem 0rem !important;
    }

    .modal-confirm .modal-footer {
        padding: 0px !important;
    }

    .dropdown-item{
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .nav-link.dropdown-toggle {
        padding: 2rem 1rem 1rem 1rem;
    }

    .navbar-collapse {
        margin-right: 0;
    }

    .navbar-collapse>.btn-group {
        display: flex;
        flex-direction: column;
    }

    .dropdown-menu-end[data-bs-popper] {
        right: auto;
        left: 0;
        display: contents;
    }
}

@media (min-width: 1800px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1700px;
    }
}

@media (min-width: 2100px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 2000px;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f8fa;
    }

    .bg-body {
        background-color: #fff !important;
        box-shadow: rgb(185 185 185) 0px 0px 10px -4px !important;
    }

    .card-list-count,
    .card-list-title {
        color: #000;
    }
}