﻿/* UNIGE */

/*handle display of profile*/
/*form[action$="/profile/"] div[id="mainContent"] > fieldset,
form[action$="/profile/"] div[id="mainContent"] > div:not(.page-copy) {
    display: none;*/ /*we hide the contact's profile on profile web page*/
/*}*/
/*handle display of profile ends */

/*tab*/
h2.tab-title {
    display: none; /*we hide tab title for tab embedded in iframes*/
}
/*tab ends*/

.picklist.vertical > label {
    max-width: 90%;
    text-align: justify;
}

.crmEntityFormView .cell.checkbox-cell:first-child {
    padding: 0px 28px 20px 28px;
}

fieldset[aria-label$="hidden"] {
    display: none; /*we hide all sections on forms whose name are "hidden"*/
}

fieldset
/*subgrid sharepoint make-up *****************/
div.subgrid.sharepoint-grid .dropdown-menu {
    position: relative;
    display: block;
    border: none;
    box-shadow: none;
}

div.subgrid.sharepoint-grid .dropdown-menu > li > a {
    color: transparent;
}

div.subgrid.sharepoint-grid .dropdown > button:nth-child(1) {
    display: none;
}

div.subgrid.sharepoint-grid .dropup > button:nth-child(1) {
    display: none;
}

div.subgrid.sharepoint-grid .dropdown-menu > li > a.delete-link > span:nth-child(1) {
    color: black;
}

/*chemin de fer avoid double scroll bars -------------------START*/
#wizardContent div.tab-pane {
}

    #wizardContent div.tab-pane iframe {
        width: 100%;
        height: 100vw;
    }

        #wizardContent div.tab-pane iframe ::-webkit-scrollbar {
            display: none;
        }

        #wizardContent div.tab-pane iframe[id|=ePayment] {
            max-height: 650px;
        }
/*chemin de fer avoid double scroll bars-------------------END*/

/*lookup hide search button -------------------START*/
button.btn.btn-default.launchentitylookup, button.btn.btn-default.clearlookupfield {
    display: none;
}
/*lookup hide search button -------------------END*/

/*waiting frame-------------------START*/
.blink_spinner {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}
/*waiting frame-------------------END*/

/*========   AQU : pleine largeur quand grand écran pour bien lire le rapport comité sur le docOrg START*/
@media (min-width: 1400px) {
    .row.sectionBlockLayout > .container, .row.sectionBlockLayout > .container-lg, .row.sectionBlockLayout > .container-md, .row.sectionBlockLayout > .container-sm, .row.sectionBlockLayout > .container-xl, .row.sectionBlockLayout > .container-xxl, .container { /*AQU ajout de .container*/
        max-width: 2000px;
    }
}
/*========   AQU : pleine largeur quand grand écran pour bien lire le rapport comité sur le docOrg END*/

/*collapse wizard-------------------START*/
@media(min-width:1200px) {
    #wizardNav {
        position: fixed;
    }
}

#wizardNavDiv {
    min-height: 300px; /*hauteur minimale du wizard AQU*/
    min-width: 290px; /*largeur minimale du wizard AQU*/
    /*background-color: #DEDEDE*/
}
/*collapse wizard-------------------END*/

/**couleur de sélection  dans le chemin de fer*/
.nav-pills .nav-link:hover, .nav-pills .nav-link:focus {
    background-color: white;
    border-bottom: unset;
}

.nav-pills .nav-link {
    color: #cf0063;
    text-decoration: unset;
    font-size: 15px;
    line-height: 1.42857;
    position: relative;
    display: block;
    text-align: left !important; /* prioritaire sur Bootstrap */
}

    .nav-pills .nav-link.active {
        background-color: white;
        border-right: 3px solid #6C0335;
        box-shadow: 0px 3px 6px #00000014;
        color: #6C0335;
    }

    .nav-pills .nav-link:hover {
        background-color: white;
        box-shadow: 0px 3px 6px #00000014;
    }
/*retrait du soulignement des menus du chemin de fer (surcharge de theme.css) */
#wizardNavDiv a:link, #wizardNavDiv a:visited {
    text-decoration: none;
    border-bottom: unset;
}

#wizardNavDiv a:hover, #wizardNavDiv a:active {
    text-decoration: none;
}

/*US2943 Log in button SWITCH-------------------START*/
/*html[crm-lcid="1036"] button[id*='https://login.test.eduid.ch/']:after,
html[crm-lcid="1036"] button[id*='https://login.eduid.ch/']:after {
    content: " -- (j'ai un autre compte)";
}

html[crm-lcid="1033"] button[id*='https://login.test.eduid.ch/']:after,
html[crm-lcid="1033"] button[id*='https://login.eduid.ch/']:after {
    content: " -- (I have another account)";
}*/


html[crm-lcid="1036"] button[id*='https://login.windows.net/']:after {
    content: " -- (j'ai un compte @unige.ch)";
}

html[crm-lcid="1033"] button[id*='https://login.windows.net/']:after {
    content: " -- (I have an @unige.ch account)";
}

/*US2943 Log in button SWITCH-------------------END*/


/*BUG2986 espacement OUI NON-------------------START*/
span.picklist.horizontal > label {
    margin-right: 5px;
}
/*BUG2986 espacement OUI NON-------------------END*/

/*specific committee*/
form[action*='/Register'] div.form-group div.checkbox {
    display: none;
}

.entitylist-filter-option-text > span {
    display: none;
}

.entitylist-filter-option-group-box-overflow {
    overflow-y: inherit;
    max-height: 210px;
}

.float-end:has(.btn-entitylist-filter-submit) {
    float:left !important;
}
/* UNIGE ends*/
