﻿/*
 * General
 */
body {
    min-height: 100vh;
    margin: 0;
}

.so-h-min-100vh {
    min-height: 100vh;
}

/* Main View Arrangment */
.so-view {
    padding-top: 3.5rem;
}

.so-main {
    padding-left: 7rem;
}

.so-view,
.so-main,
.so-content {
    min-height: calc(100vh - 3.5rem);
}


.so-main-height {
    height: calc(100vh - 58px); /* 58px c'est la hauteur de la navbar */
}

.sidebar {
    width: 7rem;
}

/* Headers Classes */
.so-header {
    height: 3.5rem;
    z-index: 250;
    padding : 0px;
}

.so-header-logo {
    height: 2.5rem;
    width: 80px;
    margin-right: 8px !important;
    margin-left: -8px;
}

.so-header-title {
    text-transform: uppercase;
}

.so-header-title-highlight {
    font-weight: 500;
    color: darkorange;
}

.so-nav-left {
    z-index: 249;
}

/* SideBar arrangement */
.so-menu-header-title {
    font-weight: bold;
    font-size: 1rem;
    text-transform: none;
}

.so-menu-header-content {
    font-weight: lighter;
    font-size: 0.8rem;
    text-transform: none;
}

hr.so-menu {
    background-color: azure;
    width: 100%;
    margin-bottom: 0;
}

hr.so-menu-top {
    margin-bottom: 4px;
}

hr.so-menu-top,
hr.so-menu-bottom {
    margin-top: 4px;
}
/*#beneficiariesView {
    width: calc(100% - 32px);
}*/

.marginContainer {
    margin-left: 15px;
    margin-top: 15px;
}

.v-align {
    display: flex;
    align-items: center
}

.alert {
    border-radius: 5px;
}

.page-item.active .page-link {
    background-color: #48CFC0;
    border-color: #48CFC0;
}

.page-link {
    color: #48CFC0;
    border-radius: 0px;
}

a {
    color: #48CFC0;
}

/* FAB */
.btn-validate {
    color: #fff;
    background-color: #416b80;
    border-color: #416b80;
    margin: 15px;
}

.btn-validate-secondary {
    color: #fff;
    background-color: #88a5c2;
    border-color: #88a5c2;
    margin: 15px;
}

.btn-delete {
    color: #fff;
    background-color: #E66F6B;
    border-color: #48CFC0;
    margin: 15px;
}

.btn-validate-subtitle {
    margin: 0px;
    transform: translateX(-50%) translateY(-1px);
}

.btn-validate:hover,
.btn-validate:focus,
.btn-validate:active {
    background-color: #3c5968 !important;
    color: #fff;
}



.btn-cancel {
    color: #fff;
    background-color: #D8D8D8;
    border-color: #D8D8D8;
    margin: 15px;
}

.btn-decline {
    color: #fff;
    background-color: #E75113;
    border-color: #E75113;
    margin: 15px;
}

.btn-action,
.btn-action-bis {
    color: #fff;
    background-color: #48cfc0;
    border-color: #48cfc0;
}

.btn-action {
    margin: 15px;
}

.btn-info {
    margin: 15px;
}

.btn-action-subtitle {
    margin: 0px;
    transform: translateX(-50%) translateY(-1px);
}

.btn-action:hover,
.btn-action:focus,
.btn-action:active {
    background-color: #4ea9b6 !important;
    color: #fff;
}
.btn-link {
    color: #646464;
    cursor: pointer;
}

.btn-link-subtitle {
    margin-left: -20px;
}

.bmd-btn-fab-login {
    width: 5.5rem !important;
    height: 5.5rem !important;
    min-height: 5.5rem !important;
}

.btn-sso-login {
    background-color: #e55021;
    border-color: #e55021;
    color: white;
}
.btn-sso-login-entity {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    background: white;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}
    .btn-sso-login-entity:hover {
        border-color: var(--so-bouygues-orange) !important;
        box-shadow: 0 4px 12px rgba(0, 170, 255, 0.2);
        transform: translateY(-2px);
    }


/*Désactivation des evenement sur les bouton disabled*/
.btn-link:disabled {
    pointer-events: none;
}
.btn:disabled {
    pointer-events: none;
}
.isDisabled {
    pointer-events: none;
    opacity: 0.5;
}

.alert-tertiary {
    min-width: 420px;
}

.s72 {
    font-size: 72px !important;
}

/* MODALE */
.so-modal-header {
    background-color: #F8F8F8;
    color: #646464;
    padding: 24px 24px 0;
    border-bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.so-modal-footer {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #dee2e6;
}


/* POUR LE BREADCRUMB */

.breadcrumb-text {
    font-size: 14px;
    font-weight: normal;
}

.breadcrumb-text-active {
    font-size: 14px;
    font-weight: bold;
}

.breadcrumb-dot {
    height: 10px;
    width: 10px;
    background-color: #C8C8C8;
    border-radius: 50%;
    display: inline-block;
}

.breadcrumb-dot-active {
    height: 10px;
    width: 10px;
    background-color: #4C768A;
    border-radius: 50%;
    display: inline-block;
}

.breadcrumbTable {
    position: relative;
}

    .breadcrumbTable:after {
        content: "";
        height: 1px;
        border-bottom: dotted;
        border-bottom-width: thin;
        position: absolute;
        z-index: -1;
        width: 100%;
        transform: translateY(-14px);
    }


/* Pour DatePicker */

.dtp > .dtp-content > .dtp-date-view > header.dtp-header {
    background: #48CFC0;
    color: #fff;
    text-align: center;
    padding: 0.3em;
}

.dtp div.dtp-date, .dtp div.dtp-time {
    background: #48CFC0;
    text-align: center;
    color: #fff;
    padding: 10px;
}

.dtp table.dtp-picker-days tr > td > a.selected {
    background: #48CFC0;
    color: #fff;
}

.dtp .p10 > a {
    color: #646464;
    text-decoration: none;
}

.dtp div.dtp-actual-year {
    font-size: 1.5em;
    color: white;
}

.v-hidden {
    visibility: hidden;
}
/* TABS */

.tabs-primary {
    background-color: #48CFC0 !important;
}

.nav-tabs.tabs-primary .nav-link.active {
    color: #fff;
    border-color: #fff;
}

.nav-tabs.tabs-primary .nav-link {
    color: rgba(255, 255, 255, 0.54);
}

/* INPUTS */
input.numeric {
    text-align: right;
}

input.decimal {
    text-align: right;
}

input.date {
    text-align: center;
    cursor: pointer;
}

.material-icons.date {
    cursor: pointer;
}


.circle {
    position: relative;
    top: 5px;
    left: 5px;
    text-align: center;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: #fafafa;
}

.circle-border {
    position: relative;
    text-align: center;
    width: 110px;
    height: 110px;
    margin-left: 30%;
    border-radius: 100%;
    background-color: #E53B3B;
    background: linear-gradient(270deg, red 50%, transparent 50%), linear-gradient(0deg, black 50%, lightgray 50%)
}

.so-gradient {
    height: 15px;
    background: linear-gradient(to right, yellow,gold);
    min-width: 250px;
    margin-left: 15px;
    margin-right: 15px;
}

.so-pointer {
    border-left: solid;
    height: 15px;
    width: 1px;
}

.labelFrise {
    color: gold;
    font-weight: bold;
    font-size: 20px;
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #416b80;
}

table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
    content: '\2714';
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: none;
}

/* Datatable icone de tri */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
    right: 0 !important;
    content: "" !important;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    right: 0 !important;
    content: "" !important;
}

table.dataTable thead th {
    position: relative;
    background-image: none !important;
    color: #416b80 !important;
    font-weight: 700;
}

table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
    position: absolute !important;
    color: #416b80 !important;
    font-weight: 700;
    font-size: 1em !important;
    top: 12px !important;
    right: 8px !important;
    display: block !important;
    font-family: 'Font Awesome 5 Free' !important;
    opacity: unset;
}

table.dataTable thead th.sorting:after {
    content: "\f0dc" !important;
    padding-top: 0.12em !important;
}

table.dataTable thead th.sorting_asc:after {
    content: "\f0de" !important;
}

table.dataTable thead th.sorting_desc:after {
    content: "\f0dd" !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #F4F4F4;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #FFF;
}

/*Idem que pour les td avec la classe select-checkbox dans select.bootstrap4.css*/
table.dataTable.withCheckboxInThead thead th.select-checkbox {
    position: relative;
}


    table.dataTable.withCheckboxInThead thead th.select-checkbox:before,
    table.dataTable.withCheckboxInThead thead th.select-checkbox:after {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 12px;
        box-sizing: border-box;
    }

    table.dataTable.withCheckboxInThead thead th.select-checkbox:before {
        content: ' ';
        margin-top: -6px;
        margin-left: -6px;
        border: 1px solid black;
        border-radius: 3px;
    }

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