﻿.custom-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 1000;
}

.custom-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 50vw;
}

    .custom-modal-content .header {
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 22px;
        line-height: 26px;
        letter-spacing: 2.83px;
    }

    .custom-modal-content .inner-modal-content {
        display: flex;
        flex-direction: column;
        padding: 0rem 1rem;
        padding-top : 10px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height : 80vh;
        overflow-y : auto;
    }

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.modal-main-text {
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 4.85px;
    color: #767271;
    text-align: center;
}

.modal-sub-text {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 3.92px;
    color: #3E3C3C;
    text-align: center;
}

.modal-block-detail{
    width : 100%;
}

.modal-block {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
}

.modal-block-content,
.modal-block-header {
    margin-bottom: 10px;
}

.modal-block-content{
    font-size : 16px; 
    line-height : 18px;
}

.modal-block-content > div{
    margin-bottom : 5px;
}

custom-modal-flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.custom-modal-row {
    flex-basis: 50%;
    padding: 0px 5px;
}

    .custom-modal-row.center {
        text-align: center;
    }

.custom-modal-flex-lign {
    display: flex;
    flex-direction: row;
    height: 25px;
    margin-bottom: 10px;
}

.span-underlign {
    margin-left: 5px;
    border-bottom: 1px solid #3E3C3C;
    flex-grow: 1;
}

/*.modal-datepicker {
    display: inline-block;
    border: none;
    background-color: transparent;
    width: 90px;
}*/

.select-no-border {
    border: none;
}

.modal-center-content {
    text-align: center;
    width: 100%;
}

/* tooltip */
#schedule-tooltip,
#side-schedule-tooltip,
#deplacement-schedule-tooltip,
#planning-case-tooltip,
#item-tooltip,
#planning-quick-case-tooltip {
    display: none;
    width: 175px;
}

.custom-tooltip-header {
    padding: 5px;
    text-align: left;
    font-size: 13px;
    line-height: 17px;
    letter-spacing: 3.78px;
}

.custom-tooltip-content {
    padding: 5px 10px;
    font-size: 12px;
}

    .custom-tooltip-content i {
        margin-right: 5px;
    }

.tooltip-content-block > span{
    padding-top: 5px;
}

    .tooltip-content-block.delete > span {
        padding-top: 15px;
    }

.tooltip-span-action:hover {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

.delete .tooltip-span-action:hover {
    color: #ff0000;
}


#schedule-tooltip.show,
#side-schedule-tooltip.show,
#deplacement-schedule-tooltip.show,
#planning-case-tooltip.show,
#item-tooltip.show,
#planning-quick-case-tooltip.show {
    z-index: 1000;
    position: absolute;
    display: block;
    margin: 0;
    list-style-type: none;
    list-style: none;
}

.push-right{
    display : flex;
    justify-content : flex-end;
}

.row-50{
    flex-basis : 50%;
    flex-grow : 1;
}

.modal-label{
    font-weight : bold;
}

.flex-table-container{
    margin-top : 5px;
    width : 100%;
    display : flex;
    flex-direction : column;
}

.flex-table-header{
    display : flex;
    flex-direction : column;
}

.flex-table-content{
    display : flex;
    flex-direction : column;
    max-height : 150px;
    overflow-y : scroll;
}

.flex-table-row {
    display: flex;
    flex-direction: row;
}

.flex-table-row-50{
    flex-basis : 50%;
    flex-shrink : 0;
    flex-grow : 0;
    padding-left : 3px;
    font-size : 16px;
}

.flex-table-row-33{
    flex-basis: 33%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 3px;
    font-size: 16px;
}
.flex-table-row-30,
.flex-table-row-30-selected {
    flex-basis: 30%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 3px;
    font-size: 16px;
}

.flex-table-row-25,
.flex-table-row-25-selected {
    flex-basis: 25%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 3px;
    font-size: 16px;
}

.flex-table-row-main,
.flex-table-row-main-selected {
    flex-basis: 33%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 3px;
    font-size: 16px;
}

.flex-table-row-sub {
    flex-basis: 20%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 3px;
    font-size: 16px;
}

.flex-table-row-25-selected .ratio-input{
    border:none;
    width:100%;
}

.flex-table-row-icon,
.flex-table-row-icon-selected {
    flex-basis: 7%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 3px;
    font-size: 16px;
    position: relative;
}

.flex-table-row-delete {
    flex-basis: 10%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 3px;
    font-size: 16px;
    text-align: center;
    width:100%;
}

.flex-table-row-delete i {
    visibility: hidden;
}

.flex-table-row:hover .flex-table-row-delete i{
    visibility :visible;
}

.flex-table-row:hover .flex-table-row-delete i:hover {
    cursor: pointer;
}

.flex-row {
    display: flex;
    padding-bottom: 10px;
}

.flex-column-50 {
    font-size: 16px;
    flex:50%;
}

.modal-search-input {
    height: 20px;
    line-height: 20px;
    width: 100%;
}

.color-list{
    padding-left : 10px;

}

.color-list-element{
    margin-bottom : 15px;
}

.element-sort,
.element-visible {
    display: none;
}

.element-sort.element-sort-active,
.element-visible.element-visible-active {
    display : inline-block;
}

.column-ordering{
    margin : 20px 10px;
    padding : 10px;
    display : flex;
    flex-direction : row;
    width : 100%;
    justify-content : space-between;
}

.column-order-element{
    flex-basis : 22%;
    display : flex;
    flex-direction : column;
    height : 100px;
    justify-content:space-between;
    padding : 5px;
    
}

.column-order-element-icon {
    display: flex;
    flex-direction: row;
    padding : 5px;
    justify-content : space-between;
}

.column-order-element:hover{
    cursor : pointer;
}

.modal-input,
.search-in-table,
.search-code-input,
.search-block-input {
    width: 100%;
    height: 22px;
    line-height : 18px;
}

.modal-datepicker,
.modal-select {
    height: 22px;
    line-height : 18px;
}

    .modal-select.modal-select-motif,
    .modal-select.modal-select-resource {
        width: 100%;
    }

.select-story{
    width : 100%;
}

.select2-results__options {
    max-height: 50vh !important;
}

.modal-option{
    display : none;
}

/* connected sort */
#hidden-project,
#display-project,
#hidden-resource,
#display-resource {
    border: 1px solid #eee;
    width: 100%;
    height: 100%;
    min-height: 20px;
    max-height: 300px;
    overflow-x: auto;
    list-style-type: none;
    margin: 0;
    padding: 10px;
    float: left;
    margin-right: 10px;
}

    #hidden-project li,
    #display-project li,
    #hidden-resource li,
    #display-resource li {
        margin: 0px;
        padding: 5px;
        font-size: 1.2em;
        width: 100%;
        background: none;
    }

        #hidden-project li:hover,
        #display-project li:hover,
        #hidden-resource li:hover,
        #display-resource li:hover {
            cursor:pointer;
        }