/***************** #generaltabs ****************/

.onglet_titre {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    line-height: 48px;
    overflow: hidden;
    vertical-align: top;
}

.onglet_titre .lib {
    padding: 0 12px;
}

#generaltabs .onglet_titre {
    height: 32px;
    line-height: 32px;
    opacity: 0.5;
    font-weight: 500;
    font-size: 14px;
    border-right: 1px solid var(--palettes-neutral-90-bg);
    display: flex;
    align-items: center;
    padding: 0 12px;
}

#generaltabs .onglet_titre .icon > svg {
    width: 16px;
    height: 16px;
}

.view_more_title {
    width: 100%;
    word-break: break-all;
}

/*#generaltabs .onglet_titre:first-child {
	width: 128px;
}*/

/*#generaltabs .onglet_titre:first-child .icon {
	margin-left: 24px;
}*/
#generaltabs .onglet_titre:first-child {
    padding: 0 8px;;
}

#generaltabs .onglet_titre.view {
    opacity: 1;
    z-index: 1;
    border-bottom: 3px solid var(--primary-container);
}

#generaltabs .onglet_titre .lib {
    display: inline-block;
    padding: 0 4px;
}

#generaltabs .onglet_titre .lib.empty {
    padding: 0;
}

#generaltabs .onglet_titre .icon {
    display: inline-block;
    padding: 4px;
}

#generaltabs .onglet_titre .lib + .icon {
    padding: 4px;
}

#generaltabs .onglet_titre .icon + .lib {
}

/*#generaltabs .onglet_titre .icon svg {
	fill: #fff;
}*/

#generaltabs.scrollLeft {
    -webkit-box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0.3);
    box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0.3);
}

#generaltabs.scrollRight {
    -webkit-box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0), inset -32px 0px 32px -32px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0), inset -32px 0px 32px -32px rgba(0, 0, 0, 0.3);
    box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0), inset -32px 0px 32px -32px rgba(0, 0, 0, 0.3);
}

#generaltabs.scrollLeft.scrollRight {
    -webkit-box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0.3), inset -32px 0px 32px -32px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0.3), inset -32px 0px 32px -32px rgba(0, 0, 0, 0.3);
    box-shadow: inset 32px 0px 32px -32px rgba(0, 0, 0, 0.3), inset -32px 0px 32px -32px rgba(0, 0, 0, 0.3);
}

/***************** .onglet_bar ****************/

.onglet_bar {
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
}

.onglet_bar .boview {
    float: left;
    width: calc(100% - 5rem);
    height: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* onglet visible si mono onglet (onglets caches) */
.onglet_bar .boview .onglet_titre {
    /* width: 100%; */
    text-align: left;
    font-size: 12px;
    background: #20607c;
    color: #FFF;
    font-weight: 400;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    -ms-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    -o-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}

.onglet_bar .boview .path {
    color: #FFF;
    /*text-transform: uppercase;*/
    font-weight: 300;
}

.onglet_bar .bohide {
    position: absolute;
    top: 0;
    right: 0;
    width: 20rem;
    display: block;
    z-index: 999999;
    height: 100%;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
    /* padding-top: 5rem; */
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    /* margin-right: -20rem; */
    /* transition: margin-right 0.3s; */
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    -webkit-backface-visibility: hidden;
    -webkit-transition-duration: 0.3s;
    -webkit-transform-style: preserve-3d;
    -webkit-user-select: none;
    -moz-backface-visibility: hidden;
    -moz-transition-duration: 0.3s;
    -moz-transform-style: preserve-3d;
    -moz-user-select: none;
    backface-visibility: hidden;
    transition-duration: 0.3s;
    transform-style: preserve-3d;
    user-select: none;
    -webkit-transform: translate3d(20rem, 0, 0);
    -moz-transform: translate3d(20rem, 0, 0);
    transform: translate3d(20rem, 0, 0);
}

.onglet_bar .bohide .item {
    display: block;
    font-size: 1.4rem;
    padding: 1.6rem 1rem;
    line-height: 1.5rem;
    border: 0;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.onglet_bar .bohide .item:hover {
    color: red;
}

.onglet_bar .boswitch {
    float: right;
    background: transparent;
    width: 5rem;
    height: 5rem;
    text-align: center;
    font-family: SWGicon2;
    line-height: 5rem;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s;
}

.onglet_bar .boswitch:hover {
    font-size: 2rem;
    color: rgba(255, 255, 255, 1);
}

.onglet_bar .boclose {
    margin-right: -20rem;
}

.onglet_bar .boopen {
    /* margin-right: 0rem; */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.contentopen {
    /* margin-left: -20rem; */
    /* transition: margin-left 0.3s; */
}

.contentclose {
    margin-left: 0rem;
    transition: margin-left 0.3s;
}

.bohide .titre {
    padding: 0 1rem;
    line-height: 4rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.3);
    text-align: right;
}

/******************** IN **************************/

.onglet_in {
    position: relative;
    width: 100%;
    /*background: rgba(0,0,0,0.2);*/
    height: calc(100% - 48px);
}

.onglet_content {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-y: hidden;
    overflow-x: hidden;
}

.onglet_content > .notes {
    height: 100%;
}

.onglet_content_titre {
    text-align: center;
    font-size: 1.3rem;
    padding-top: 0.4rem;
    padding-bottom: 0.6rem;
    background: #f9f9f9;
}

.swipp > DIV {
    -webkit-backface-visibility: hidden;
    -webkit-transition-duration: 0.3s;
    -webkit-transform-style: preserve-3d;
    -webkit-user-select: none;

    -moz-backface-visibility: hidden;
    -moz-transition-duration: 0.3s;
    -moz-transform-style: preserve-3d;
    -moz-user-select: none;

    backface-visibility: hidden;
    transition-duration: 0.3s;
    transform-style: preserve-3d;
    user-select: none;
}

.swipp .onglet_content {
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
    -moz-transform: translate3d(2000px, 0, 0);
}

/******************** onglet_border **************************/

.onglet_border {
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    -webkit-transition: 0.3s left, 0.3s width;
    -moz-transition: 0.3s left, 0.3s width;
    -ms-transition: 0.3s left, 0.3s width;
    -o-transition: 0.3s left, 0.3s width;
    transition: 0.3s left, 0.3s width;
    background: var(--primary-container);
}