/*
 Theme Name:   Ormihl
 Theme URI:    https://ginidev.com
 Description:  Orhmilh custom theme
 Author:       GiniDev
 Author URI:   https://ginidev.com
 Template:     wp-bootstrap-starter
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  orhmil
*/

/*--- ONGLETS --- */
.nav-item.nav-link {
    transition: all 0.25s ease-out;
}
.nav-item.nav-link:not(.active):hover {
    background: lightgrey;
}

.field-visibility-settings-notoggle {
    display:none;
}
.buddypress-wrap .standard-form input[required]:invalid, .buddypress-wrap .standard-form select[required]:invalid, .buddypress-wrap .standard-form textarea[required]:invalid {
    border: 1px solid #d6d6d6;
}
.register-page .signup-form .editfield fieldset legend, .buddypress-wrap .signup-form label, .buddypress-wrap .signup-form legend
{
    font-weight: bold;
    color: black;
}
.bp-required-field-label {
    text-indent: -999em;
    display: inline-block;
}
.bp-required-field-label:before {
    width: 10px;
    height: 10px;
    content: ' *';
    display: block;
    position: absolute;
    text-indent: 0;
}
body #buddypress input[type=submit] {
    font-size: 0.765625rem;
    text-transform: uppercase;
    display: block;
    width: 100%;
    color: #fff;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.buddypress-wrap .bp-feedback p {
    line-height: 2rem;
}

/*Profile*/
.bp_members h1.entry-title, #item-header-avatar, .bp_members span.activity, .bp-navs, .bp_members h3.profile-group-title, .bp_members .entry-header, .bp_members #item-header {
    display: none;
}
.buddypress-wrap .profile.edit .editfield {
    border: none;
    background: none;
}
.buddypress-wrap fieldset legend {
    color: black;
}

/*Formulaire devis*/
legend.bg-light {
    background: #f8f9fa!important;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
}
select.form-control:not([size]):not([multiple]) {
    height: calc(1.5em + .75rem + 2px)!important;
    padding: 0.45rem 2rem;
}
label {
    color: black;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 3px 0 3px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 33px;
}
.select2-container--default .select2-selection--single {
    height: calc(1.5em + .75rem + 2px) !important;
    border-radius: 0;
}
.form-control {
    background-color: #fff!important;
}
/*Liste devis*/
.dataTables_length select {
    width: 50px;
    padding: 0!important;
}
.dataTables_filter input {
    margin-left: 10px;
    display: inline-block;
    width: 60%;
}
th.sorting, th.sorting_asc, th.sorting_desc {
    position: relative;
    cursor: pointer;
}
th.sorting:after, th.sorting_asc:after, th.sorting_desc:after {
    font-family: "Font Awesome 5 Free";
    position: absolute;
    right: 0;
}
th.sorting:after {
    content: "\f0dc";
    color:grey;
}
th.sorting_asc:after {
    content: "\f0de";
    color:black;
}
th.sorting_desc:after {
    content: "\f0dd";
    color:black;
}

/*Affichage devis*/
.table th, .table td {
    padding: 0.75rem!important;
}
.table.table-sm th, .table.table-sm td {
    padding: 0.3rem;
}

@media screen and (min-width: 46.8em) {
    .buddypress-wrap .register-page .layout-wrap {
        display: block;
    }
    .buddypress-wrap.extended-default-reg .register-page .extended-profile {
        padding: 0;
    }
}