
.lws_aff_block_ad_for_review{
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #00000012;
    border-radius: 10px;
    padding:20px 15px 25px 15px;
    margin-bottom:20px;
}

.lws_aff_block_ad_review_title{
    text-align: center;
    font: normal normal 600 18px/28px Poppins;
    letter-spacing: 0px;
    color: #1D2327;
}

.lws_aff_block_ad_review_description{
    text-align: center;
    font: normal normal normal 15px/26px Poppins;
    letter-spacing: 0px;
}

.lws_aff_block_ad_review_stars{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}



.mce-window .mce-window-head .mce-title{
    padding: 14px 30px !important;
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: bold !important;
    letter-spacing: 0px !important;
    color: #1D2327 !important;
}

.dataTables_wrapper #commission_list_filter input[type="search"]{
    background-color:white !important;
    margin-right: 30px !important;
    border-radius: 5px !important;
    border: 1px solid #1D2327 !important;
    padding: 3px 0px !important;
    padding-left: 10px !important;
    width: unset;
    margin-left: 10px !important;
}

.dataTables_wrapper .dataTables_length select[name="commission_list_length"]{
    background-color:white !important;
    border-radius: 5px !important;
    border: 1px solid #1D2327 !important;
    padding: 3px 32px !important;
    padding-left: 10px !important;
}

div[class='dataTables_length']{
    padding-left: 30px;
}

div[class='dataTables_info']{
    padding-left: 30px;
    padding-top: 20px !important;
}

div[class='dataTables_paginate paging_simple_numbers']{
    padding-right: 30px;
    padding-top: 20px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current{
    border-radius: 5px;
}

.tagsdiv{
    padding-left: 30px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    padding: 5px 12px 5px 12px !important;
}

.dataTables_wrapper .dataTables_length select{
    padding: 0px 20px 0px 6px !important;
    border-radius: 0 !important;
}
.dataTables_wrapper .dataTables_filter input{
    margin: 5px !important;
    width: 150px;
    padding: 0px !important;
    border-radius: 0 !important;
}
.dataTables_filter{
    margin-top: -5px;
    margin-bottom: 10px;
}

.lws_aff_titre{
    text-align: left;
    font-size:20px;
    font-weight: bold;
    line-height: 30px;
    letter-spacing: 0px;
    color: #1D2327;
    padding-left:30px;
    padding-right:30px;
}

.lws_aff_text_p{
    text-align: left;
    letter-spacing: 0px;
    color: #1D2327;
    line-height: 26px;
    font-size: 16px;
    padding-left:30px;
    padding-right:30px;
}

.lws_aff_titre_deconnexion{
    margin-bottom: 0px;
    padding-top: 30px;
    border-top: 1px solid rgb(29, 35, 39, 0.25);
}

.lws_aff_connexion_button{
    background: #1C469D 0% 0% no-repeat padding-box;
    border-radius: 22px;
    text-align: left;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #FFFFFF;
    border: none;
    padding: 4px 16px 4px 16px;
    cursor: pointer;
}

.lws_aff_connexion_bloc{
    margin: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/*General page*/
.tab_lws_aff_select{
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
}

.tab_lws_aff_select > select{
    width: 100%;
    text-align: center;
}

.lws_aff_subtitlebloc{
    margin-left: 1%;
    margin-right: 2%;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #00000012;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
    padding: 40px 50px 40px 50px;
}

.lws_aff_title-text{
    font-size: 15px;
    line-height: 26px;
    color: #1D2327;
    margin-left: 50px;
}

.lws_aff_subtitle{
    font-size:16px;
    font-weight:400;
}

.lws_aff_adbloc{
    background: transparent linear-gradient(270deg, #0A5BBC 0%, #1C469D 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #00000012;
    border-radius: 10px 10px 0px 0px;
    opacity: 1;
    display: flex;
    flex-direction:row;
    margin-left: 1%;
    margin-right: 2%;
    margin-top: 30px;
    align-items: center;
}

.lws_aff_ad_title{
    text-align: left;
    font-size: 38px;
    font-weight: 600;
    line-height:50px;
    letter-spacing: 0px;
    color: #FFFFFF;
    padding:5px;
}

.lws_aff_ad_subtext{
    text-align: left;
    font-size: 26px;
    line-height:36px;
    letter-spacing: 0px;
    padding:5px;
    color: #FFFFFF;
    opacity: 1;
}

.lws_aff_ad_img{
    padding-left:10px;
    vertical-align:bottom;
}

.lws_aff_adbloc_left{
    border-right: 1px dashed #FFFFFF;
    flex: 25%;
    vertical-align: middle;
    text-align: left;
    padding-left: 40px;
    padding-top: 41px;
    padding-bottom: 43px;
}

.lws_aff_adbloc_right{
    flex: 50%;
    vertical-align: middle;
    text-align: left;
    padding-top: 20px;
    padding-left: 40px;
    padding-bottom:20px;
    padding-right: 40px;
}

.lws_aff_ad_t1{
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    line-height:26px;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.lws_aff_ad_t2{
    text-align: left;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    text-align: left;
    font-size: 15px;
    line-height:26px;
    letter-spacing: 0px;
}

.lws_aff_ad_label{
    background: #1C469D 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    opacity: 1;
    text-align: left;
    font-size: 15px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #FFFFFF;
    padding: 8px 10px 8px 10px;
    vertical-align: middle;
    margin-right: 10px;
    cursor: pointer;
}

.lws_aff_ad_button{
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 22px;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    letter-spacing: 0px;
    color: #1C469D;
    text-transform: uppercase;
    border: none;
    padding: 6px 20px 6px 20px;
    cursor:pointer;
    vertical-align:middle;
}

.lws_aff_configpage{
    background-color:white;
    box-shadow: 0px 1px 1px #00000029;
    font-size:16px;
    line-height:26px;
    margin-left: 1%;
    padding-bottom:30px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.lws_aff_list_block_content{
    flex:100%;
}

.lws_aff_list_block_ad{
    display:flex;
    flex-direction:column;
    flex:30%;
}

.lws_aff_main_content{
    display:flex;
    flex-direction:row;
    margin-right:2%;
    column-gap: 30px;
}

.lws_aff_button_ad_block{
    background: #2893E9 0% 0% no-repeat padding-box;
    border-radius: 22px;
    text-align: left;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #FFFFFF;
    border: none;
    padding: 6px 15px 6px 15px;
    cursor:pointer;
}

.lws_aff_button_ad_block_validated{
    cursor:default;
    background: #008A56 0% 0% no-repeat padding-box;
}

.lws_aff_text_ad{
    text-align: left;
    font-size:15px;
    line-height:24px;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.lws_aff_block_ad_text{
    text-align: left;
    font-size:16px;
    line-height:26px;
    font-weight:600;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.lws_aff_button_text{
    text-align: left;
    font-size:14px;
    line-height:24px;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.lws_aff_block_ad{
    background: #1B2E4B 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #00000012;
    border-radius: 10px;
    padding:20px 20px 25px 20px;
    margin-bottom:20px;
}

.tab_lws_aff{
    background-color: white;
    margin-left: 1%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tab_lws_aff > div{
    border-bottom: 1px solid rgba(28, 34, 38, 0.25);
}

.tab_nav_lws_aff{
    margin: 20px;
    border: none;
    font-size: 16px;
    letter-spacing: 0px;
    color: #1D2327;
    text-transform: uppercase;
    line-height: 26px;
    background: none;
    margin-bottom: 10px;
}

.tab_nav_lws_aff.active{
    font-weight: 600;
}

.tab_nav_lws_aff:hover{
    cursor: pointer;
}

.selector_tab{
    position: relative;
    top: 2px;
    left: 0px;
    height: 3px;
    width: 0px;
    background-color: #1C469D;
    z-index: 10;
    transition: left .5s ease 0s;
    margin-top:2px;
}

.lws_aff_normal_space{
    margin-bottom:20px;
}
/*END*/

/*Our plugins*/
.lws_aff_recommended{
    background: #008A56 0% 0% no-repeat padding-box;
    border-radius: 22px;
    opacity: 1;
    text-align: left;
    font-size:12px;
    line-height:24px;
    font-weight:600;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 1;
    padding:5px 10px 5px 10px;
    vertical-align: middle;
}

.lws_aff_div_title_plugins{
    background: rgb(40, 147, 233, 0.1) 0% 0% no-repeat padding-box;
}

.lws_aff_title_plugins{
    text-align: left;
    font-size:20px;
    line-height:30px;
    font-weight:bold;
    letter-spacing: 0px;
    color: #1D2327;
    padding-left:30px;
    padding-right:30px;
    margin:0;
    padding-top:30px;
}

.lws_aff_text_base{
    text-align: left;
    font-size:16px;
    line-height:26px;
    letter-spacing: 0px;
    color: #1D2327;
    opacity: 1;
    padding-left:30px;
    padding-right:30px;
    padding-bottom:30px;
}

.lws_aff_title_plugin{
    margin-bottom:0px;
}

.lws_aff_text_plugin{
    text-align: left;
    font-size:15px;
    line-height:26px;
    letter-spacing: 0px;
    color: #1D2327;
    margin-bottom:0px;
    margin-top:10px;
    
}
.lws_aff_text_plugin_left{
    margin-left:30px;
    width:75%;
}

.lws_aff_plugin_button_right{
    margin-right: 30px;
    height: fit-content;
    white-space: nowrap;
}

.lws_aff_block_plugin_in_page{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(29 35 39 / 25%);
    padding-top: 30px;
}

.lws_aff_block_plugin_in_page:first-child{
    padding-top:0px;
}
    
.lws_aff_block_plugin_in_page:last-child{
    border:none;
    padding-bottom:0px;
}

.tip{
    background-color: #263646;
    padding: 0 14px;
    line-height: 27px;
    position: absolute;
    border-radius: 4px;
    z-index: 100;
    color: #fff;
    font-size: 12px;
    animation-name: tip;
    animation-duration: .6s;
    animation-fill-mode: both
}

.tip:before{
    content: "";
    background-color: #263646;
    height: 10px;
    width: 10px;
    display: block;
    position: absolute;
    transform: rotate(45deg);
    top: -4px;
    left: 17px
}

#copied_tip{
    animation-name: come_and_leave;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/*END*/

/*CSS Responsive*/
@media only screen and (max-width: 1400px){
    /* .lws_aff_subtitlebloc,
    .lws_aff_adbloc{
        margin-right:140px;
        margin-left:120px;
    }
    
    .lws_aff_main_content{
        margin-right:140px;
    }
    .lws_aff_configpage,
    .tab_lws_aff{
        margin-left:120px;
    } */
}

@media only screen and (max-width: 1250px){
    .lws_aff_main_content{
        flex-direction:column;
    }
    .lws_aff_list_block_content{
        /* margin-right:0; */
    }
    
    .lws_aff_list_block_ad{
        /* margin-left: 80px; */
        /* margin-right: unset; */
        margin-top: 30px;
    }
    
/*     
    .lws_aff_subtitlebloc,
    .lws_aff_adbloc{
        margin-right:100px;
        margin-left:80px;
    }
    
    .lws_aff_main_content{
        margin-right:100px;
    }
    .lws_aff_configpage,
    .tab_lws_aff{
        margin-left:80px;
    } */
}

@media only screen and (max-width: 1060px){
    .lws_aff_adbloc_left{
        border-right:unset;
        border-bottom: 1px dashed #FFFFFF;
    }
    
    .lws_aff_adbloc{
        flex-direction:column;
        align-items: stretch;
    }
}

@media only screen and (max-width: 650px){
    .lws_aff_subtitlebloc{
        flex-direction:column;
    }
    
    .lws_aff_subtitlebloc > img {
        align-self:center;
        margin-bottom:30px;
    }
    
    .lws_aff_list_block_ad{
        /* margin-left: 20px; */
        /* margin-right: unset; */
        margin-top: 30px;
    }
    
    
    /* .lws_aff_subtitlebloc,
    .lws_aff_adbloc{
        margin-right:40px;
        margin-left:20px;
    }
    
    .lws_aff_main_content{
        margin-right:40px;
    }
    .lws_aff_configpage,
    .tab_lws_aff{
        margin-left:20px;
    } */
}

@media only screen and (max-width: 430px){
    .lws_aff_adbloc_right{
        padding-left:10px;
    }
    .lws_hl_adbloc_left{
        padding-left:0px;
    }
}

@media only screen and (max-width: 380px){
    .lws_aff_ad_button{
        margin-top:20px;
    }

    .lws_aff_list_block_ad{
        /* margin-left: 0px; */
        /* margin-right: unset; */
        margin-top: 30px;
    }
/*     
    .lws_aff_subtitlebloc,
    .lws_aff_adbloc{
        margin-right:10px;
        margin-left:0px;
    }
    
    .lws_aff_main_content{
        margin-right:10px;
    }
    .lws_aff_configpage,
    .tab_lws_aff{
        margin-left:0px;
    } */
}
/*END MEDIAS*/










/* CSS FOR ADMIN PAGE */
.mce-i-lws-affiliation-widget:before {
    content: '\2605';
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 16px/1 'dashicons';
    vertical-align: top;
}

.updated_lws{
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 0px 30px 20px 0px;
    padding: 0px 10px;
    border-left-color: #00a32a;
}

.error_lws{
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 0px 30px 20px 0px;
    padding: 0px 10px;
    border-left-color: #d63638;
}
div.divWidgetAffiliationLWS {
    height: 100px;
    width: 100%;
    background-color: #e3e3e3;
}

.error.ithemes{
    padding: 10px !important;
    border-left-color: #dcd60d;
}

.sub-title{
    font-size:16px;
}
.page-title-aff{
    margin-left: 20px !important;
    margin-bottom: 0px;
}
.title_bloc-aff{
    line-height:25px !important;
    font-weight:400;
}

.bloc-title-affiliation{
    display: flex;
    flex-direction: row;
    margin-top: 30px;
    margin-bottom:30px;
}

.config-bloc-aff{
    background-color: white;
    padding-top: 30px;
    font-size: 16px;
    line-height: 26px;
    border: none;
}

.button_disconnect-aff{
    background: #1C469D 0% 0% no-repeat padding-box;
    border-radius: 22px;
    text-align: left;
    font-size:14px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #FFFFFF;
    border:none;
    padding: 6px 16px 6px 16px;
    cursor: pointer;
    margin-top: 0.5em;
}

.button_disconnect-aff:hover{
    cursor:pointer;
}

/* END CSS ADMIN PAGE */

.nav-tab{
    background-color: #FFFFFF;
    border: 1px solid #9DB3F6;
    border-bottom:none;
}

.config-bloc-aff-stats{
    background-color: white;
    font-size: 16px;
    line-height: 26px;
    padding-left:30px;
    padding-bottom:30px;
}

.bloc_general_stats{
    display: flex;
    flex-direction: column;
}


.title_bloc_aff_stats{
    text-align: left;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    letter-spacing: 0px;
    color: #1D2327;
    margin-top:40px;
    font-family:unset;

}
.sub_bloc_general_stats{
    display: flex;
    flex-direction: row;    
}

.img_aff_stats{
    margin-right: 8px;
}

.aff_stat_number{
    font-size: 30px;
    line-height: 40px;
    font-weight: medium;
    letter-spacing: 0px;
    font-family: unset;
    color: #FFFFFF;
}

.aff_stat_afternum{
    text-align: left;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.aff_stat_bloc_title{
    letter-spacing: 0px;
    font-family: unset;
    margin-top:30px;
    display: flex;
    place-content: center;
    text-align: left;
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
    color: #FFFFFF;
}

.stats_bloc{
    margin-right: 30px;
    flex: 30%;
    padding-bottom: 30px;
    text-align: center;
    background: black 0% 0% no-repeat padding-box;
    border-radius: 10px;
    opacity: 1;
}

.stats_bloc_clics{
    background-color: #2893E9;
}

.stats_bloc_ventes{
    background-color: #1C469D;
}

.stats_bloc_comm{
    background-color: #008A56;
}


.select_aff_div{
    text-align: center;
    margin-bottom: 15px;
}

.aff_history_tab{
    border: none !important;
    text-align: left;
    line-height: 26px;
    font-size: 16px;
}

.aff_tabhead{
    text-align-last: left;
    padding-left: 30px !important;
}

.aff_history_tab_content{
    text-align: left;
    border-bottom: 1px solid rgb(29, 35, 39, 0.25);
    line-height: 26px;
    font-size: 16px;
    
}

.aff_history_tab_content:first-letter {
    text-transform: uppercase;
}

tr.odd:first-child > td.aff_history_tab_content{
    border-top: 1px solid rgb(29, 35, 39, 0.25);
    
}

.aff_tabcontent{
    text-align: left;
    padding-left: 30px !important;
}

.await_approval{
    text-align: left;
    font-size:14px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0px;
    color: #FF6600;
}

.accepted{
    text-align: left;
    font-size:14px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0px;
    color: #008A56;
}

.refused{
    background: #E1EFFF 0% 0% no-repeat padding-box;
    border-radius: 14px;
    padding: 3px 14px 3px 14px;
    font: normal normal normal 16px/26px Segoe UI;
    letter-spacing: 0px;
    color: #0F4293;
    font-family: unset;
}

.styled-table-aff {
    border-collapse: collapse;
    text-align: center;
    font-size: 1.3em;
    font-family: sans-serif;
    width:100%;
    border: none;
}

.styled-table-aff thead tr {
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0px;
    color: #1D2327;
}

.styled-table-aff th,
.styled-table-aff td {
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    overflow: hidden;      
}

.styled-table-aff.noDataTable td{
    padding: 10px;
}

.styled-table-aff tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table-aff tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table-aff tbody tr:last-of-type {
    border-bottom: 2px solid #0F4293;
}

.styled-table-aff tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

div[aria-label="Widget | LWS Affiliation"] > div > div > div[class="mce-title"]{
    margin-top: 8px !important;
    margin-bottom: 5px !important;
    font-size: 20px !important;
}

#banner_lws_aff{
    background: url(../../images/banniere_plugin_affiliation_1100px.jpg) no-repeat;
    height:120px;
    width:auto;
    transition: all .2s ease;
    margin: 30px;
    margin-top: 20px;
    background-position-x: 35%;
}


@media only screen and (max-width: 1350px){
    #banner_lws_aff{
        background: url(../../images/banniere_plugin_affiliation_900px.jpg) no-repeat;
    }
}

@media only screen and (max-width: 1050px){
    #banner_lws_aff{
        background: url(../../images/banniere_plugin_affiliation_700px.jpg) no-repeat;
    }
    
    .ui-accordion-content {
        max-height:1px !important;
    }

    /*mce-container*/
    div[aria-label="Widget | LWS Affiliation"]{
    left:50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 60px) !important;
    }

    div[aria-label="Widget | LWS Affiliation"] .mce-container-body {
        width: 100% !important;
    }

    iframe body {
        min-width: unset;
    }
}

@media only screen and (max-width: 950px){
    .dataTables_wrapper{
        width: 100% !important;
    }
}

@media only screen and (max-width: 900px){
    .sub_bloc_general_stats{
        display: flex;
        flex-direction: column;    
    }
    
    .stats_bloc{
        border-radius: 10px;
        margin-bottom:30px;
    }
}

@media only screen and (max-width: 450px){
    #banner_lws_aff{
        display:none;
    }
}
