/*
    Loader
 */
div.infocob_crm_forms_loader {
    display: none;
    
    &.loading {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: fixed;
        width: 100vw;
        height: 110vh;
        margin: 0;
        padding: 0;
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }
    
    span.text_loader {
        color: white;
        font-size: 1.25rem;
    }
    
    span.img_loader {
        display: inline-block;
        width: 80px;
        height: 80px;
    }
    
    span.img_loader:after {
        content: " ";
        display: block;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        border: 6px solid #fff;
        border-color: #fff transparent #fff transparent;
        animation: infocob_crm_forms_loader 1.2s linear infinite;
    }
    
    @keyframes infocob_crm_forms_loader {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
}


/*
	Correspondance couleurs champs obligatoires / tables
*/

#table_input_first {
    color: red;
}

.trVisible td {
    color: red;
}

#table_input_third {
    color: green;
}

.trVisible_2 td {
    color: green;
}

#table_input_second {
    color: blue;
}

.trHidden td {
    color: blue;
}

/*
	**************************

	Liste de selection des formulaires
*/

#formList {
    display: block;
    text-align: center;
}

#formList h2 > select {
    margin-left: 20px;
}

#formList h2 > input[type="button"] {
    margin-left: 20px;
}

/*
	**************************

	Config formulaires
*/

#allConfigForm {
    /*display: flex;
    flex-flow: row nowrap;*/
}

#forms {
    display: flex;
    flex-direction: column;
    padding: 10px 30px 10px 10px;
    flex-shrink: 0;
    flex-grow: 2;
}

#add_field {
    display: flex;
    margin: auto;
    margin-top: 20px;
}

#submitData {
    display: flex;
    margin: auto;
    margin-top: 25px;
}

#helps {
    display: flex;
    flex-direction: column;
    border-left-style: solid;
    padding: 10px 10px 10px 30px;
}

#helps * {
    flex-direction: row;
}

#TableVisibleFields td {
    text-align: center;
}

#TableVisibleFields td:first-child {
    text-align: center;
    max-width: 300px;
}

#TableHiddenFields {
    width: 100%;
    margin-top: 25px;
}

#TableHiddenFields td {
    text-align: center;
}

#TableRequiredFields th {
    width: 200px;
}

.container-table th, td {
    padding: 0 10px;
}

#TableRequiredFields td {
    text-align: center;
}

@media all and (max-width: 960px) {
    #allConfigForm {
        display: flex;
        flex-flow: row wrap;
    }
    
    #TableRequiredFields th {
        width: auto;
    }
}

#typeaction .type, #moduleTicket .type {
    font-weight: bold;
    color: #000;
}

#typeaction .subType, #moduleTicket .subType {
    color: #232323
}

#typeaction .subSubType, #moduleTicket .subSubType {
    color: #404040
}

/*******************/
/* Style Select */
/*******************/

.select{
    position: relative;
    display: inline-block;
    width: 100%;
}
.select select{
    display: inline-block;
    width: 100%;
    cursor: pointer;
    //padding: 0 !important;
    outline: 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;;
    background: #FFF;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: none;
}
.select select::-ms-expand{
    display: none;
}
.select select:hover, .select select:focus{
    border: 1px solid #F26522;
    outline: 0;
}
.select select:disabled{
    opacity: 0.5;
    pointer-events: none;
}

.select .select__arrow{
    position: absolute;
    top: 13px;
    right: 10px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #7B7B7B transparent transparent transparent;
}

.select-form{
    position: relative;
    display: inline-block;
    width: 400px;
}
.select-form select{
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 0 !important;
    outline: 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;;
    background: #FFF;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select-form select::-ms-expand{
    display: none;
}
.select-form select:hover, .select select:focus{
    border: 1px solid #F26522;
    outline: 0;
}
.select-form select:disabled{
    opacity: 0.5;
    pointer-events: none;
}

.select-form .select__arrow{
    position: absolute;
    top: 13px;
    right: 10px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #7B7B7B transparent transparent transparent;
}

#autres_destinataires, #destinataires {
    width: 100%;
}

/* Fin style select */

.box-plugin{
    background-color: #FFF;
    padding: 25px;
    margin-bottom: 20px;
    -webkit-box-shadow: -1px 22px 34px -21px rgba(0,0,0,0.1);
    -moz-box-shadow: -1px 22px 34px -21px rgba(0,0,0,0.1);
    box-shadow: -1px 22px 34px -21px rgba(0,0,0,0.1);
}

.box-plugin h3{
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 12px;
    position: relative;
}

.box-plugin h3::before{
    content: '';
    position: absolute;
    background-color: #F26522;
    height: 2px;
    width: 40px;
    bottom: -1px;
}

.box-data{
    flex-grow: 1;
}

.inputPlugin{
    margin-top: 20px;
    margin-left: 10px;
    background-color: #F26522;
    border: 1px solid #F26522;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.inputPlugin:hover{
    cursor: pointer;
    background-color: transparent;
    color: #F26522;
    transition: all .2s;
}

.containerData{
}

.wrapperTab{
    position: relative;
    display: flex;
    flex-flow: row nowrap;
}

.navData{
    position: relative;
    width: 200px;
}

.navData img{
    margin: 10px auto;
    height: auto;
    max-width: 150px;
    display: block;
}

.navData *{
    box-sizing: border-box;
}

.navData ul{
    width: 100%;
    margin: 0;
    padding: 0;
}

.navData ul li{
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin: 0;
}

.navData ul li a{
    position: relative;
    display: block;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    color: black;
    width: 100%;
    outline: none;
    padding: 20px 20px;
}

.navData ul li a::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 0;
    width: 2px;
    transition: all 0.3s;
    transition-delay: .2s;
    transform: translateY(-50%);
}

.navData ul li a:hover{
    color: #F26522;
    background-color: #FFF;
    transition: all 0.2s;
}

.navData ul li a:hover::before{
    height: 100%;
    background-color: #F26522;
}

.navData ul li a:focus{
    box-shadow: none;
}

.navData ul li a.navData-active{
    color: #F26522 !important;
    background-color: #FFF;
}

.navData ul li a.navData-active::before{
    height: 100%;
    background-color: #F26522;
}

.spanClick{
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 5px 15px;
    color: black;
    font-size: 12px;
    margin-left: 10px;
}
.spanClick:hover{
    border-color: #F26522;
    color: #F26522;
    transition: all .3s;
    cursor: pointer;
}

.hide{
    display: none;
}

.loader-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.8);
    z-index: 999;
    opacity: 1;
    visibility: visible;
    transition: all .3s;
}
.loader-overlay .loader {
    border: 6px solid #CCC;
    border-top: 6px solid #0078D7;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
}
.visible{
    opacity: 1;
    visibility: visible;
}

td.center-text {
    text-align: center;
}

table, th, td {
    border-collapse: collapse;
}
table{
    width:100%;
    table-layout: fixed;
    overflow-wrap: break-word;
    margin-bottom: 10px;
}
