@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    box-sizing: border-box;
}
body{
    font-family: 'Inter', sans-serif;
    margin:0;
    padding:0;
    color:#00011D;
}
.s-y-d {
    padding-top: 60px;
    padding-bottom: 60px;
}
button ,.button{
    border: 0;
    padding: 4px 15px;
    border-radius: 3px;
    background: #109bc3;
    color: #fafafd;
    font-weight: bold;
    font-size: 14px;
    line-height: 30px;
    cursor: pointer;
}
input[type="text"],input[type="password"],textarea {
    width: 100%;
    display: block;
    border: 1px solid #969696;
    font-size: 16px;
    line-height: 24px;
    padding: 2px 15px;
    border-radius: 3px;
}
table{
    border-collapse:collapse;
    width:100%;
}
tr {
    width: 100%;
}
th, td {
    padding: 0 5px;
    text-align: left;
    min-width: 20px;
    border: 1px solid #F2F2F2;
    font-size: 16px;
    line-height: 40px;
    min-height:40px;
    font-weight: 300;
}
.sw{
    max-width:1600px;
    margin:0 auto;
}
main{
    display: block;
    padding:60px 15px;
    width: 100%;
    margin:0 auto;
    max-width:1140px;
}
td.feature_type {
    font-weight: bold;
    border-top: 1px solid #F2F2F2;
}
td.feature_type, td.type_value {
    background: #FAFAFD;
    text-align:center;
    font-weight:bold;
}
td.classic_type{
    text-align:center;
    font-weight:bold;
}
td.feature_classic {
    text-align: center;
    font-weight: bold;
    border-top: 1px solid #F2F2F2;
}
td.classic_value{
    text-align:center;
}
tr.heading_row td {
    height: 200px;
    vertical-align: bottom;
}
td.groupname {
    font-weight: bold;
}
tr.heading_row td.partner-header span {
    transform: rotate(-90deg);
    transform-origin: bottom left;
    display: block;
    line-height: 20px;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-left: 42px;
    margin-bottom: 10px;
}
td:nth-child(1) {
    border-left: 0;
    border-top: 0;
}
.horizontal_space_maker{
    height:80px;
    border:0;
}
.type_value[data="0"]:before,.classic_value[data="0"]:before{
    content: '';
    width: 21px;
    height: 21px;
    background-image: url(../_images/dash.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px auto;
    display: inline-block;
    vertical-align: middle;
}

tr[data-group="16"] .type_value[data="0"]:before,tr[data-group="16"] .classic_value[data="0"]:before{
    display:none;
}
.type_value[data="1"]:before,.classic_value[data="1"]:before{
    content: '';
    width: 21px;
    height: 21px;
    background-image: url(../_images/check.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px auto;
    display: inline-block;
    vertical-align: middle;
}
.type_value[data="2"]:before,.classic_value[data="2"]:before{
    content: '';
    width: 21px;
    height: 21px;
    background-image: url(../_images/check-optional.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px auto;
    display: inline-block;
    vertical-align: middle;
}

.page_wrap > a.button {
    border-radius: 0;
    max-width: 200px;
    float: right;
}
.description_wrap{
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: -15px;
    margin-top: -2px;
    float: right;
    flex-shrink: 0;
}
.circle_info {
    width: 50px;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    text-align: center;
    cursor:pointer;
    position: relative;
    z-index: 11;
}
.circle_info:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f05a";
    font-size: 17px;
    color: #676767;
    font-weight: bold;
}
.description_wrap.active .circle_info:before {
    color: #0C88E0;
}
.info_balloon {
    position: absolute;
    left: 10px;
    top: 5px;
    background-color: #fafafd;
    white-space: nowrap;
    border: 1px solid #F2F2F2;
    padding: 10px 10px 10px 32px;
    font-size: 12px;
    border-radius: 3px;
    line-height: 20px;
    box-shadow: 10px 10px 10px rgb(0 0 0 / 10%);
    font-weight:500;
    display:none;
    z-index: 1;
}
.description_wrap.active .info_balloon{
    display:block;
}
td.add_feature_button {
    text-align: right;
    padding: 15px 0;
    border: 0;
}



tr.top_heading td {
    border: 0;
    text-align: center;
}
tr.top_heading td.partnertypeheader{
    font-weight: 900;
    font-size: 14px;
    position: relative;
}
tr.top_heading td.partnertypeheader:after{
    content: '';
    position: absolute;
    top: 100%;
    left: 5px;
    width: calc(100% - 10px);
    height: 5px;
    z-index: 2;
    background: #000;
}
tr.top_heading td.partnertypeheader[data-partnertypeid="1"]:after{
    background: #FFD300;
}
tr.top_heading td.partnertypeheader[data-partnertypeid="2"]:after{
    background: #0D88E0;
}
tr.top_heading td.partnertypeheader[data-partnertypeid="3"]:after{
    background: #06BEB6;
}
tr.top_heading td.partnertypeheader[data-partnertypeid="4"]:after{
    background: #F15F79;
}

.popup_background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 100;
}
.popup {
    width: 700px;
    padding: 40px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}
.popup_title {
    font-size: 18px;
    line-height: 28px;
    margin: 0 0 30px 0;
    font-weight: bold;
}



.field_wrap {
    margin: 0 0 15px 0;
}
.field_wrap.partners {
    column-count: 2;
}
#feature_body{
    min-height:180px;
}
label {
    font-size: 12px;
    line-height: 16px;
    margin: 0 0 5px 0;
    font-weight: bold;
    display: block;
}
.checkwrap {
    display: flex;
    align-items: center;
    margin:0 0 5px 0;
}
.field_wrap.partners label {
    width: 100%;
}
.field_wrap.partners .checkwrap {
    width: 50%;
}
.checkwrap label {
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 0 10px;
    flex-grow: 1;
}
.type_value.editable:before {
    width: 25px;
    height: 25px;
}
.type_value.editable {
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    cursor: pointer;
}
.button_container{
    text-align:right;
}
.checkwrap input[type="text"] {
    width: 100px;
    margin-left: 15px;
    border: 1px solid #ccc;
}
label span{
    float:right;
    
}

.editing_box input {
    min-height: 40px;
    padding: 2px 0px;
    border: 0;
    border-radius: 0;
}

tr.feature_row td{
    transition:0.1s ease-in-out;
}
tr.feature_row:hover td {
    background: #caf1ff;
    background:#D9F5F4;
}

tr td.hovering{
    background:#D9F5F4!important;
}


tr.feature_row.admin_mode.editing_mode td {
    background: #caf1ff;
    border: 3px solid #000;
}
tr[data-deprecated="true"] {
    color: #F15F79;
}
h1 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    text-align: center;
}
.custom_description_for_support {
    font-size: 14px;
    line-height: 24px;
}

.ck.ck-editor__editable_inline{
    height:75px;
}
span.feature_title i {
    font-weight: 900;
    color: #06BEB6;
    margin-right: 10px;
}
span.feature_title i + i {
    margin-left: -5px;
}

td.groupname i.fa-pencil {
    display: none;
}

tr.admin_mode td.groupname i.fa-pencil {
    display: inline;
    cursor: pointer;
    margin-left: 15px;
    background: #109bc3;
    padding: 8px;
    border-radius: 5px;
    color: #fff;
}
td.groupname i:not(.fa-pencil) {
    color: #06BEB6;
    font-size: 1.2rem;
    margin-left: 5px;
}
.button_container {
    display: flex;
    justify-content: space-between;
    margin: 15px 0 0 0;
}

.removeFeature {
    background-color: #f44336;
}
.saveFeature {
    background: #4caf50;
}
.removeFeature.disabled{
    background-color:grey;
    cursor:not-allowed;
}
.login_wrap{
    max-width:500px;
    margin:0 auto;
}
a.button {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
a.button:hover{
    text-decoration:none;
    color:#fff;
}
a.button i {
    margin-left: 15px;
}
.info_balloon p:last-child, .info_balloon ul:last-child {
    margin-bottom: 0;
}


td.feature_name {
    position: relative;
}
.sorter-button{
    width: 41px;
    height: 20px;
    position: absolute;
    left: 0px;
    top: 0;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    display:none;
}
.feature_title { 
    flex-grow: 1;
    line-height: 23px;
    padding: 5px 0 5px 0px;
}
.admin_mode .feature_title {
    padding: 5px 0 5px 50px;
}
.feature_name {
    display: flex;
    align-items: center;
    border-left: 0;
    border-right: 0;
}
tr.feature_row.admin_mode .sorter-button{
    display:block;
}
.sorter-button.down{
    top:20px;
}
.sorter-button.up:before {
    content: '\f077';
    font-family: 'Font Awesome 5 Pro';
    font-weight: bold;
    color: #000;
}
.sorter-button.down:before {
    content: '\f078';
    font-family: 'Font Awesome 5 Pro';
    font-weight: bold;
    color: #000;
}

.sorter-button:hover{
    background-color:#f3f3f3;
}




/*Align icons in center and put text next to it ASKED FOR BY BASTIAAN*/
td.type_value, td.classic_value{
    position:relative;
}
td.type_value{
    border-right: 10px solid #fff;
    border-left: 10px solid #fff;
}
table tr td.partner-header {
    border-right: 10px solid #fff;
    border-left: 10px solid #fff;
    background-color :#FAFAFD;
}
table tr.heading_row td.partner-header {
    position: relative;
    width: 70px !important;
}


.checkToggle {
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    cursor: pointer;
}
.checkToggle:before {
    content: '';
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: -1px;
}
.checkToggle[label-value="1"]:before {
    background-image: url(../_images/check.svg);
}
.checkToggle[label-value="2"]:before {
    background-image: url(../_images/check-optional.svg);
}


/* LEGENDE */

h1,
#legende_table {
    opacity: 0;
    transition: opacity 0.2s ease-in;
}
#legende_table {
    background-color: #FAFAFD;
    border-radius: 5px;
    width: 550px;
    width: 370px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-top: 35px;
    padding: 30px;
    z-index: 10;
    box-shadow: 0 3px 20px rgb(0 0 0 / 8%); 
}
h1.translated,
#legende_table.translated {
    opacity: 1;
}
.legende_heading {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 19px;
    margin: 0 0 20px;
    font-weight: 900;
}
#legende_elements {
    display: flex;
    justify-content: space-between;
}
#legende_elements > span {
    margin: 0 15px;
    display: flex;
    align-items: center;
}
.legende_item.legende_item_2 {
    display: none !important;
}
#legende_elements > span:before {
    content: "";
    width: 21px;
    height: 21px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: inline-block;
    margin-right: 5px;
}
.legende_item_1:before { background-image: url(../_images/check.svg); }
.legende_item_0:before { background-image: url(../_images/dash.svg); }
.legende_item_2:before { background-image: url(../_images/check-optional.svg); }

.alert {
    display: inline-block;
}
.center {
    text-align: center;
}
.feature_table_container {
    margin-top: 120px;
}



@media print {
    nav{
        display:none;
    }
    h1{
        display:none;
    }
    .horizontal_space_maker{
        height:30px;
    }
    td {
        padding: 0 5px;
        text-align: left;
        min-width: 50px;
        font-size: 14px;
        line-height: 33px;
        min-height: 40px;
        font-weight: 300;
    }
    main {
        padding: 15px;
    }
}
@media only screen and (max-width: 1400px) {
    nav {
        padding: 30px 15px;
        width: 225px;
    }
    nav a {
        font-size: 12px;
        margin: 0 0 10px 0;
    }
}

@media only screen and (max-width: 1024px) {
    table tr.heading_row td.partner-header {
        width: 50px !important;
    }
    tr.heading_row td span {
        margin-left: 30px;
    }
    td.add_feature_button {
        text-align: left;
    }
    .feature_table_container {
        margin-top: 75px;
        
    }
}

@media only screen and (max-width: 991px) {
    th, td {
        font-size: 14px;
        line-height: 18px;
    }
    td.groupname {
        line-height: 30px;
    }
    td.partnertypeheader {
        font-size: 16px;
        line-height: 40px;
    }
}

@media only screen and (max-width: 600px) {
    tr.heading_row td.groupname {
        width: 150px !important;
    }
    .feature_table_container {
        min-width: 550px;
    }
}

@media only screen and (max-width: 768px) {

    h1 {
        font-size: 26px;
        line-height: 34px;
    }
    .s-y-d {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .feature_table_container {
        margin-top: 40px;
        /* width: 800px; */
    }
    #legende_elements > span:before {
        width: 15px;
    }
    #legende_elements > span {
        font-size: 12px;
        line-height: 15px;
    }
    .feature_title,
    th, td {
        font-size: 12px;
        line-height: 16px;
    }
    tr.heading_row td span {
        margin-left: 30px;
    }
    table tr.heading_row td.partner-header {
        width: auto !important;
    }
    .description_wrap {
        margin-right: -5px;
    }
    .circle_info {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    .info_balloon {
        top: -6px;
        left: 0px;
    }

}

@media only screen and (max-width: 767px) {

    #legende_table {
        transition: width 0.3s ease;
    }
    body.stickyLegend #legende_table {
        margin-top: 0;
        position: fixed;
        left: calc(50% - 225px);
        top: 15px;
        width: calc(100% - 30px);
    }
    #legende_table {
        padding: 20px;
    }
    #legende_table {
        width: 310px;
    }
}

@media only screen and (max-width: 520px) {

    #legende_table {
        padding: 20px;
    }
    #legende_elements {
        flex-direction: column;
        align-items: center;
    }
    
}